102 Dalmatians: Puppies to the Rescue
Decompilation Source Reference | GitLab repository
Loading...
Searching...
No Matches
channels.c File Reference

Go to the source code of this file.

Functions

void Audio_ReleaseSoundHandle (int32_t slot_index)
void Audio_StopAllSounds ()
void Audio_StartSoundPlayback (int32_t slot_index, uint32_t const *riff_data, int32_t pitch_q12, int32_t volume, int32_t pan, char loop_flag)
void Audio_StopSound (int32_t slot_index)
uint8_t Audio_FreeSoundSlot (int32_t slot_index, BOOL clear_resource_flag)
int32_t Audio_AllocateSoundSlot (struct Audio_SoundDefinition *sound_def)
int32_t Audio_FindSoundByType (int32_t slot_index, struct Audio_SoundDefinition *sound_def, struct Math_Vec3I32 *position)
void Audio_UpdateSoundChannels (int32_t channel_mask)
void Audio_ProcessSoundQueue ()
void Audio_PauseAllSounds ()
void Audio_ResumeAllSounds ()

Function Documentation

◆ Audio_AllocateSoundSlot()

int32_t Audio_AllocateSoundSlot ( struct Audio_SoundDefinition * sound_def)

Definition at line 145 of file channels.c.

◆ Audio_FindSoundByType()

int32_t Audio_FindSoundByType ( int32_t slot_index,
struct Audio_SoundDefinition * sound_def,
struct Math_Vec3I32 * position )

Definition at line 214 of file channels.c.

◆ Audio_FreeSoundSlot()

uint8_t Audio_FreeSoundSlot ( int32_t slot_index,
BOOL clear_resource_flag )

Definition at line 97 of file channels.c.

◆ Audio_PauseAllSounds()

void Audio_PauseAllSounds ( void )

Definition at line 525 of file channels.c.

◆ Audio_ProcessSoundQueue()

void Audio_ProcessSoundQueue ( void )

Definition at line 321 of file channels.c.

◆ Audio_ReleaseSoundHandle()

void Audio_ReleaseSoundHandle ( int32_t slot_index)

Definition at line 27 of file channels.c.

◆ Audio_ResumeAllSounds()

void Audio_ResumeAllSounds ( void )

Definition at line 546 of file channels.c.

◆ Audio_StartSoundPlayback()

void Audio_StartSoundPlayback ( int32_t slot_index,
uint32_t const * riff_data,
int32_t pitch_q12,
int32_t volume,
int32_t pan,
char loop_flag )

Definition at line 51 of file channels.c.

◆ Audio_StopAllSounds()

void Audio_StopAllSounds ( void )

Definition at line 39 of file channels.c.

◆ Audio_StopSound()

void Audio_StopSound ( int32_t slot_index)

Definition at line 89 of file channels.c.

◆ Audio_UpdateSoundChannels()

void Audio_UpdateSoundChannels ( int32_t channel_mask)

Definition at line 275 of file channels.c.