46 std::memcpy(target, source, length*
sizeof(T));
The main header file of the library defining the namespace and basic data types.
#define AUD_NAMESPACE_END
Closes the audaspace namespace aud.
Definition Audaspace.h:119
#define AUD_NAMESPACE_BEGIN
Opens the audaspace namespace aud.
Definition Audaspace.h:116
#define AUD_API
Used for exporting symbols in the shared library.
Definition Audaspace.h:93
unsigned char data_t
Sample data type (format samples)
Definition Audaspace.h:129
void AUD_API convert_s24_float_be(data_t *target, data_t *source, int length)
Converts from FORMAT_S24 big endian to FORMAT_FLOAT32.
void AUD_API convert_s16_s24_le(data_t *target, data_t *source, int length)
Converts from FORMAT_S16 to FORMAT_S24 little endian.
void AUD_API convert_float_s16(data_t *target, data_t *source, int length)
Converts from FORMAT_FLOAT32 to FORMAT_S16.
void AUD_API convert_float_u8(data_t *target, data_t *source, int length)
Converts from FORMAT_FLOAT32 to FORMAT_U8.
void AUD_API convert_u8_s32(data_t *target, data_t *source, int length)
Converts from FORMAT_U8 to FORMAT_S32.
void AUD_API convert_u8_s24_le(data_t *target, data_t *source, int length)
Converts from FORMAT_U8 to FORMAT_S24 little endian.
void AUD_API convert_double_s16(data_t *target, data_t *source, int length)
Converts from FORMAT_FLOAT64 to FORMAT_S16.
void AUD_API convert_float_s24_be(data_t *target, data_t *source, int length)
Converts from FORMAT_FLOAT32 to FORMAT_S24 big endian.
void AUD_API convert_double_float(data_t *target, data_t *source, int length)
Converts from FORMAT_FLOAT64 to FORMAT_FLOAT32.
void AUD_API convert_s24_double_le(data_t *target, data_t *source, int length)
Converts from FORMAT_S24 little endian to FORMAT_FLOAT64.
void AUD_API convert_s16_float(data_t *target, data_t *source, int length)
Converts from FORMAT_S16 to FORMAT_FLOAT32.
void AUD_API convert_s24_u8_be(data_t *target, data_t *source, int length)
Converts from FORMAT_S24 big endian to FORMAT_U8.
void AUD_API convert_s24_float_le(data_t *target, data_t *source, int length)
Converts from FORMAT_S24 little endian to FORMAT_FLOAT32.
void AUD_API convert_double_s24_be(data_t *target, data_t *source, int length)
Converts from FORMAT_FLOAT64 to FORMAT_S24 big endian.
void AUD_API convert_s16_double(data_t *target, data_t *source, int length)
Converts from FORMAT_S16 to FORMAT_FLOAT64.
void(* convert_f)(data_t *target, data_t *source, int length)
The function template for functions converting from one sample format to another, having the same par...
Definition ConverterFunctions.h:35
void AUD_API convert_s16_s32(data_t *target, data_t *source, int length)
Converts from FORMAT_S16 to FORMAT_S32.
void AUD_API convert_double_s32(data_t *target, data_t *source, int length)
Converts from FORMAT_FLOAT64 to FORMAT_S32.
void AUD_API convert_u8_float(data_t *target, data_t *source, int length)
Converts from FORMAT_U8 to FORMAT_FLOAT32.
void AUD_API convert_s32_float(data_t *target, data_t *source, int length)
Converts from FORMAT_S32 to FORMAT_FLOAT32.
void AUD_API convert_s32_s24_be(data_t *target, data_t *source, int length)
Converts from FORMAT_S32 to FORMAT_S24 big endian.
void convert_copy(data_t *target, data_t *source, int length)
The copy conversion function simply calls std::memcpy.
Definition ConverterFunctions.h:44
void AUD_API convert_s24_s32_be(data_t *target, data_t *source, int length)
Converts from FORMAT_S24 big endian to FORMAT_S32.
void AUD_API convert_s16_s24_be(data_t *target, data_t *source, int length)
Converts from FORMAT_S16 to FORMAT_S24 big endian.
void AUD_API convert_s24_s16_le(data_t *target, data_t *source, int length)
Converts from FORMAT_S24 little endian to FORMAT_S16.
void AUD_API convert_double_u8(data_t *target, data_t *source, int length)
Converts from FORMAT_FLOAT64 to FORMAT_U8.
void AUD_API convert_s32_u8(data_t *target, data_t *source, int length)
Converts from FORMAT_S32 to FORMAT_U8.
void AUD_API convert_s24_s32_le(data_t *target, data_t *source, int length)
Converts from FORMAT_S24 little endian to FORMAT_S32.
void AUD_API convert_s32_s24_le(data_t *target, data_t *source, int length)
Converts from FORMAT_S32 to FORMAT_S24 little endian.
void AUD_API convert_s32_double(data_t *target, data_t *source, int length)
Converts from FORMAT_S32 to FORMAT_FLOAT64.
void AUD_API convert_s24_double_be(data_t *target, data_t *source, int length)
Converts from FORMAT_S24 big endian to FORMAT_FLOAT64.
void AUD_API convert_double_s24_le(data_t *target, data_t *source, int length)
Converts from FORMAT_FLOAT64 to FORMAT_S24 little endian.
void AUD_API convert_s24_s16_be(data_t *target, data_t *source, int length)
Converts from FORMAT_S24 big endian to FORMAT_S16.
void AUD_API convert_u8_double(data_t *target, data_t *source, int length)
Converts from FORMAT_U8 to FORMAT_FLOAT64.
void AUD_API convert_u8_s16(data_t *target, data_t *source, int length)
Converts from FORMAT_U8 to FORMAT_S16.
void AUD_API convert_s32_s16(data_t *target, data_t *source, int length)
Converts from FORMAT_S32 to FORMAT_S16.
void AUD_API convert_u8_s24_be(data_t *target, data_t *source, int length)
Converts from FORMAT_U8 to FORMAT_S24 big endian.
void AUD_API convert_float_s32(data_t *target, data_t *source, int length)
Converts from FORMAT_FLOAT32 to FORMAT_S32.
void AUD_API convert_s24_u8_le(data_t *target, data_t *source, int length)
Converts from FORMAT_S24 little endian to FORMAT_U8.
void AUD_API convert_s16_u8(data_t *target, data_t *source, int length)
Converts from FORMAT_S16 to FORMAT_U8.
void AUD_API convert_s24_s24(data_t *target, data_t *source, int length)
Converts from FORMAT_S24 to FORMAT_S24 simply using std::memcpy.
void AUD_API convert_float_s24_le(data_t *target, data_t *source, int length)
Converts from FORMAT_FLOAT32 to FORMAT_S24 little endian.
void AUD_API convert_float_double(data_t *target, data_t *source, int length)
Converts from FORMAT_FLOAT32 to FORMAT_FLOAT64.