Vulkan Schnee 0.0.1
High-performance rendering engine
Loading...
Searching...
No Matches
Engine::Core::Audio Namespace Reference

Shared audio configuration constants used by miniaudio and Steam Audio. More...

Variables

constexpr uint32_t SAMPLE_RATE = 48000
 Sample rate in Hz — must match between miniaudio engine and Steam Audio.
constexpr uint32_t FRAME_SIZE = 1024
 Frames per audio processing period — must match between miniaudio and Steam Audio.
constexpr uint32_t OUTPUT_CHANNELS = 2
 Output channel count (stereo)
constexpr uint32_t MAX_AUDIO_SOURCES = 128
 Maximum number of simultaneously active audio sources.
constexpr size_t MAX_AUDIO_LOADS_PER_FRAME = 8
 Maximum audio assets to finalize per frame in the pipeline.

Detailed Description

Shared audio configuration constants used by miniaudio and Steam Audio.

Variable Documentation

◆ FRAME_SIZE

uint32_t Engine::Core::Audio::FRAME_SIZE = 1024
constexpr

Frames per audio processing period — must match between miniaudio and Steam Audio.

Definition at line 15 of file AudioConfig.h.

◆ MAX_AUDIO_LOADS_PER_FRAME

size_t Engine::Core::Audio::MAX_AUDIO_LOADS_PER_FRAME = 8
constexpr

Maximum audio assets to finalize per frame in the pipeline.

Definition at line 24 of file AudioConfig.h.

◆ MAX_AUDIO_SOURCES

uint32_t Engine::Core::Audio::MAX_AUDIO_SOURCES = 128
constexpr

Maximum number of simultaneously active audio sources.

Definition at line 21 of file AudioConfig.h.

◆ OUTPUT_CHANNELS

uint32_t Engine::Core::Audio::OUTPUT_CHANNELS = 2
constexpr

Output channel count (stereo)

Definition at line 18 of file AudioConfig.h.

◆ SAMPLE_RATE

uint32_t Engine::Core::Audio::SAMPLE_RATE = 48000
constexpr

Sample rate in Hz — must match between miniaudio engine and Steam Audio.

Definition at line 12 of file AudioConfig.h.