Expand description
Loading and playing of audio files.
Modules§
- output
- Provides structures and functions used to get audio outputs.
Structs§
- Audio
Bundle - Audio bundle
- Audio
Emitter - An audio source, add this component to anything that emits sound. TODO: This should get a proper Debug impl parsing the sinks and sound queue
- Audio
Listener - An audio listener, add this component to the local player character.
- Audio
Prefab PrefabDatafor loading audio components- Audio
Sink - This structure provides a way to programmatically pick and play music.
- Audio
System - Syncs 3D transform data with the audio engine to provide 3D audio.
- Audio
System Desc - Builds an
AudioSystem. - Decoder
Error - An error occurred while decoding the source.
- DjSystem
- Calls a closure if the
AudioSinkis empty. - DjSystem
Desc - Creates a new
DjSystemwith the music picker beingf. - Flac
Format - Loads audio from Flac files.
- Mp3Format
- Loads audio from MP3 files.
- OggFormat
- Loads audio from Ogg Vorbis files
- Source
- A loaded audio file
- WavFormat
- Loads audio from wav files.
Type Aliases§
- Source
Handle - A handle to a source asset.