arduino-audio-tools
Loading...
Searching...
No Matches
Public Member Functions | List of all members
audio_tools::FormatConverter< FromType, ToType > Class Template Reference

Converts e.g. 24bit data to the indicated smaller or bigger data type. More...

#include <Converter.h>

Public Member Functions

 FormatConverter (float factor, float clip)
 
 FormatConverter (ToType(*converter)(FromType v))
 
size_t convert (FromType *src, ToType *target, size_t byte_count_src)
 
size_t convert (uint8_t *src, uint8_t *target, size_t byte_count_src)
 

Detailed Description

template<typename FromType, typename ToType>
class audio_tools::FormatConverter< FromType, ToType >

Converts e.g. 24bit data to the indicated smaller or bigger data type.

Author
Phil Schatzmann
Template Parameters
T

The documentation for this class was generated from the following file: