package core:engine/sound
⌘K
Ctrl+K
or
/
Index
Types (4)
Constants (0)
This section is empty.
Variables (0)
This section is empty.
Procedure Groups (0)
This section is empty.
Types
sound ¶
sound :: struct { src: ^sound_src, __private: sound_private, }
Related Procedures With Parameters
Related Procedures With Returns
sound_format ¶
sound_format :: miniaudio.format
sound_src ¶
sound_src :: struct { format: miniaudio.format, channels: u32, sample_rate: u32, size_in_frames: u64, decoder_config: miniaudio.decoder_config, decoder: miniaudio.decoder, }
Related Procedures With Parameters
Related Procedures With Returns
Constants
This section is empty.
Variables
This section is empty.
Procedures
sound_deinit ¶
sound_deinit :: proc(self: ^sound) {…}
Deinitializes and cleans up sound resources
Inputs:
self: Pointer to the sound to deinitialize
Returns:
None
sound_src_deinit ¶
sound_src_deinit :: proc(self: ^sound_src) {…}
Deinitializes a sound source and all sounds using it
Inputs:
self: Pointer to the sound source to deinitialize
Returns:
None
sound_src_play_sound_memory ¶
sound_src_play_sound_memory :: proc(self: ^sound_src, volume: f32, loop: bool) -> (snd: ^sound, err: miniaudio.result) {…}
Plays a sound from memory using a sound source
Inputs:
self: Pointer to the sound source
volume: Volume level (0.0 to 1.0)
loop: Whether to loop the sound
Returns:
Pointer to the playing sound
An error if playback failed
Procedure Groups
This section is empty.
Source Files
Generation Information
Generated with odin version dev-v0.0.1 (vendor "odin") Linux_amd64 @ 2026-01-30 10:23:15.887485900 +0000 UTC