VAE - Virtual Audio Engine 1
Small Data Driven Audio Engine
vae_voice_hrtf.hpp
Go to the documentation of this file.
1#ifndef _VAE_VOICE_HRTF
2#define _VAE_VOICE_HRTF
3
4#include "../vae_types.hpp"
5#include "../vae_config.hpp"
6#include <limits>
7
8namespace vae { namespace core {
9 /**
10 * @brief Data needed to process HRTFs
11 */
12 struct VoiceHRTF {
13 ScratchBuffer convolutionBuffer; ///< Temporary buffer for the convolution
14 Size convolutionIndex; ///< position in convolution buffer
15 };
16
17 constexpr int _VAE_VOICE_HRTF_SIZE = sizeof(VoiceHRTF);
18
19} } // core::vae
20
21#endif // _VAE_VOICE_HRTF
constexpr int _VAE_VOICE_HRTF_SIZE
Contains Typedefinitions and basic structures use by the public API and internally.
Definition: vae.hpp:31
unsigned int Size
How the elements are addressed in the heapbuffer.
Definition: vae.hpp:33
Data needed to process HRTFs.
ScratchBuffer convolutionBuffer
Temporary buffer for the convolution.
Size convolutionIndex
position in convolution buffer