OpenDAFF C++ API  v1.7
Directional Audio File Format
Namespaces | Functions
Utils.h File Reference
#include <DAFFDefs.h>
#include <cmath>
#include <string>
#include <cstring>
#include <stdint.h>

Go to the source code of this file.

Namespaces

 DAFF
 

Functions

float DAFF::cabs (float Re, float Im)
 
float DAFF::carg (float Re, float Im)
 
float DAFF::anglef_proj_0_360_DEG (float alpha)
 
float DAFF::anglef_mindiff_0_360_DEG (float alpha, float beta)
 
float DAFF::anglef_mindiff_abs_0_360_DEG (float alpha, float beta)
 
float DAFF::anglef_proj_0_2PI (float alpha)
 
float DAFF::anglef_mindiff_0_2PI (float alpha, float beta)
 
float DAFF::anglef_mindiff_abs_0_2PI (float alpha, float beta)
 
void * DAFF::malloc_aligned16 (size_t bytes)
 
void DAFF::free_aligned16 (void *ptr)
 
void DAFF::stc_sint16_to_float (float *dest, const short *src, size_t count, int input_stride=1, int output_stride=1, float gain=1)
 Convert signed integer 16-Bit -> single precision floating point (32-Bit) More...
 
void DAFF::stc_sint16_to_float_add (float *dest, const short *src, size_t count, int input_stride, int output_stride, float gain)
 
void DAFF::stc_sint24_to_float (float *dest, const void *src, size_t count, int input_stride=1, int output_stride=1, float gain=1)
 Convert signed integer 24-Bit -> single precision floating point (32-Bit) More...
 
void DAFF::stc_sint24_to_float_add (float *dest, const void *src, size_t count, int input_stride, int output_stride, float gain)
 
int64_t DAFF::getFileSize (const std::string &sFilename)
 Größe einer Datei in Bytes zurückgeben (Gibt im Fehlerfall -1 zurück) More...
 
OpenDAFF is a project from the Institute of Technical Acoustics, RWTH Aachen University, Germany.