VAE - Virtual Audio Engine 1
Small Data Driven Audio Engine
vae_listener.hpp
Go to the documentation of this file.
1#ifndef _VAE_LISTENER
2#define _VAE_LISTENER
3
4#include "../vae_types.hpp"
5#include "../vae_config.hpp"
6
7
8namespace vae { namespace core {
9
10 struct Listener {
12 enum {
13 Mono = 0,
19 };
20 };
25 /**
26 * ! Listeners all mix to the same mixer channels and have the same configuration
27 * This might change, so that's why it's stored here
28 * Only the configuration for the first listeners is used
29 */
31 };
32
34
35 constexpr int _VAE_LISTENER_SIZE = sizeof(Listener);
36} } // vae::core
37
38#endif // _VAE_LISTENER
constexpr Size MaxListeners
How many listeners can observe 3D voices.
Definition: vae.hpp:288
glm::vec3 Vec3
Definition: vae_types.hpp:47
constexpr int _VAE_LISTENER_SIZE
unsigned char Uchar
Definition: vae_types.hpp:45
Listener[StaticConfig::MaxListeners] Listeners
Contains Typedefinitions and basic structures use by the public API and internally.
Definition: vae.hpp:31
SmallHandle ListenerHandle
Definition: vae.hpp:45
constexpr ListenerHandle InvalidListenerHandle
Definition: vae.hpp:59
Uchar configuration
! Listeners all mix to the same mixer channels and have the same configuration This might change,...