Module audio
Expand description
Shared first-party audio core; platform output lives in ferravex-render.
Structs§
- Acoustic
Profile - Acoustic
Scene - Acoustic
Transition - An allocation-free, opt-in transition between room/occlusion profiles.
- Acoustic
Zone - Adaptive
Score - Two phase-aligned original stems. Starts/restarts both together after host suspension and crossfades gains on musical bars without restarting cursors.
- Clip
- Game
Audio - Local gameplay audio with explicit suspension, independent of simulation time.
- MixStats
- Mixer
- Music
Conductor - Music
Frame - Output
Stats - Sound
- A clip whose sample and metadata validation is complete. Keep a bank owner alive during real-time playback if the last Arc must not free in render.
- Sound
Bank - Voice
Handle - Voice
Params - Voice
Policy - Opt-in reservation using the existing
VoiceParams::priorityscale.
Enums§
- Acoustic
Transition Error - Invalid input to an
AcousticTransition. Errors leave its state unchanged. - Bus
- Cue
- Spatial
- Surface
- Voice
Admission - Explicit admission result, including the invalidated handle after a steal.
See
Mixer::start_with_outcomefor a compiling example. - Voice
Rejection - Why
Mixer::start_with_outcomedid not admit a voice.
Constants§
- MAX_
CLIP_ FRAMES - Maximum decoded interleaved-stereo storage: 64 MiB, also bounded to 10 minutes.
Functions§
- encode_
wav - listener
- music_
stems - Original short synchronized stems, synthesized at setup; no asset download.
- muted
- output_
stats - play
- play_
sound - playing
- preload_
cues - Generate the built-in bank outside a frame/audio callback when desired.
- set_
bus_ gain - set_
master_ gain - set_
muted - set_
params - stats
- stop
- stop_
all - suspend