Skip to main content

Module audio

Module audio 

Source
Expand description

Sound effects: SFX/RAW from SOUNDS.RFF mixed in software with 3D panning.

Structsยง

Audio
Channel ๐Ÿ”’
Mixer ๐Ÿ”’
MusicStream ๐Ÿ”’
Music arriving in chunks from a reader thread (crate::cdaudio::stream_wav).
Sound

Constantsยง

MOVIE_OWNER
Channel owner id of cutscene soundtracks.
SOUND_AMBIENT ๐Ÿ”’
SOUND_SECTOR ๐Ÿ”’
Sprite types that generate sounds.

Functionsยง

parse_sfx
Parses a Blood .SFX descriptor: relVol, pitch, pitchRange, format, loopStart, rawName[9].
sfx_rate