VAE - Virtual Audio Engine
1
Small Data Driven Audio Engine
vae_hrtf.hpp
Go to the documentation of this file.
1
#ifndef _VAE_HRTF
2
#define _VAE_HRTF
3
4
#include "../vae_types.hpp"
5
#include "../vae_config.hpp"
6
7
namespace
vae
{
namespace
core {
8
struct
HRTF
{
9
struct
Position
{
10
Vec3
pos
;
11
AudioBuffer
ir
[2];
///< Impulse response needed for the convolution
12
};
13
HeapBuffer<Position>
positions
;
14
Size
originalRate
= 0;
15
Size
rate
= 0;
16
Size
irLength
= 0;
17
};
18
} }
// namespace vae::vore
19
20
#endif
// _VAE_HRTF
tklb::AudioBufferTpl< Sample, tklb::HeapBuffer< Sample, tklb::DEFAULT_ALIGNMENT, memory::AllocatorAudio< unsigned char > > >
tklb::HeapBuffer
Basically a bad std::vector without exceptions which can also work with foreign memory.
Definition:
THeapBuffer.hpp:49
vae::core::Vec3
glm::vec3 Vec3
Definition:
vae_types.hpp:47
vae
Contains Typedefinitions and basic structures use by the public API and internally.
Definition:
vae.hpp:31
vae::Size
unsigned int Size
How the elements are addressed in the heapbuffer.
Definition:
vae.hpp:33
vae::core::HRTF::Position
Definition:
vae_hrtf.hpp:9
vae::core::HRTF::Position::pos
Vec3 pos
Definition:
vae_hrtf.hpp:10
vae::core::HRTF::Position::ir
AudioBuffer ir[2]
Impulse response needed for the convolution.
Definition:
vae_hrtf.hpp:11
vae::core::HRTF
Definition:
vae_hrtf.hpp:8
vae::core::HRTF::originalRate
Size originalRate
Definition:
vae_hrtf.hpp:14
vae::core::HRTF::irLength
Size irLength
Definition:
vae_hrtf.hpp:16
vae::core::HRTF::rate
Size rate
Definition:
vae_hrtf.hpp:15
vae::core::HRTF::positions
HeapBuffer< Position > positions
Definition:
vae_hrtf.hpp:13
src
core
pod
vae_hrtf.hpp
Generated by
1.9.2