4#include "../vae_types.hpp"
5#include "../vae_config.hpp"
8namespace vae {
namespace core {
AudioBuffer::Size SampleIndex
constexpr int _VAE_VOICE_SIZE
Contains Typedefinitions and basic structures use by the public API and internally.
float Sample
Default sample types used where ever possible, changing this means the engine needs to be recompiled,...
constexpr SourceHandle InvalidSourceHandle
SmallHandle ListenerHandle
LargeHandle EmitterHandle
GenericHandle EventHandle
The handle used to address events within a bank.
GenericHandle SourceHandle
SourceHandle source
If invalid, means voice is not playing.
bool spatialized
If the voice has spatialization data.
ListenerHandle listener
If it's spatialized it's rendered for this listener.
bool started
Whether the voice has started playing.
bool chainedEvents
If this voice triggers events after it stopped playing.
Sample gain
Volume of the voice.
EventHandle event
Which event triggered the voice to be played.
bool audible
Whether the voice was heard by any listener.
BankHandle bank
Which bank it belongs to.
bool filtered
This will enable high/lowpass filters and variable speed playback. Gets turned on when signal does no...
MixerHandle mixer
Where the voice should mix to.
bool critical
Voice can't be killed in favor of new voice.
EmitterHandle emitter
Emitter used to control voice properties.
bool loop
Voice will loop until killed.
bool HRTF
If the voice should be rendered using hrtfs.
SampleIndex time
Current time in samples.
bool attenuate
Whether distance affects volume.