VAE - Virtual Audio Engine 1
Small Data Driven Audio Engine
vae::StaticConfig Namespace Reference

Contains some fundamental Configuration needed at compile time Dynamic settings are contained in the EngineSettings struct above. More...

Namespaces

namespace  Speakers
 Placement of the speakers around the listener used for SPCAP panning.
 

Variables

constexpr unsigned char MaxChannels = 2
 Maximum channel count used to pre allocate buffers. More...
 
constexpr Size MaxBlock = 512
 Maximum block size. More...
 
constexpr Size StreamPrefetch = 1024 * 8
 How many Samples to prefetch for streaming sources. More...
 
constexpr Size MaxListeners = 4
 How many listeners can observe 3D voices. More...
 
constexpr Size MaxMixerEffects = 4
 How many effects a mixer channel can process. More...
 
constexpr Size MaxEffectsParameter = 4
 
constexpr Size MaxChainedEvents = 4
 How many chained events can fit in chain_events on the core::Event structure. More...
 
constexpr Sample MinVolume = 0.01f
 Minimum volume before sounds will skip rendering. More...
 

Detailed Description

Contains some fundamental Configuration needed at compile time Dynamic settings are contained in the EngineSettings struct above.

Changes made here need recompilation

Variable Documentation

◆ MaxBlock

constexpr Size vae::StaticConfig::MaxBlock = 512
constexpr

Maximum block size.

Used to preallocate buffers for mixers and dsp. Higher values need more memory might play better with instruction caches but uses more memory.

Definition at line 276 of file vae.hpp.

◆ MaxChainedEvents

constexpr Size vae::StaticConfig::MaxChainedEvents = 4
constexpr

How many chained events can fit in chain_events on the core::Event structure.

See also
vae::core::Event::chained_events

Definition at line 302 of file vae.hpp.

◆ MaxChannels

constexpr unsigned char vae::StaticConfig::MaxChannels = 2
constexpr

Maximum channel count used to pre allocate buffers.

Definition at line 268 of file vae.hpp.

◆ MaxEffectsParameter

constexpr Size vae::StaticConfig::MaxEffectsParameter = 4
constexpr

Definition at line 296 of file vae.hpp.

◆ MaxListeners

constexpr Size vae::StaticConfig::MaxListeners = 4
constexpr

How many listeners can observe 3D voices.

See also
vae::core::Listener::Listeners

Definition at line 288 of file vae.hpp.

◆ MaxMixerEffects

constexpr Size vae::StaticConfig::MaxMixerEffects = 4
constexpr

How many effects a mixer channel can process.

See also
vae::core::Mixer::effects

Definition at line 294 of file vae.hpp.

◆ MinVolume

constexpr Sample vae::StaticConfig::MinVolume = 0.01f
constexpr

Minimum volume before sounds will skip rendering.

Definition at line 307 of file vae.hpp.

◆ StreamPrefetch

constexpr Size vae::StaticConfig::StreamPrefetch = 1024 * 8
constexpr

How many Samples to prefetch for streaming sources.

Attention
TODO no streaming for now might even be a runtime settings

Definition at line 282 of file vae.hpp.