Functions | |
int | oslGetSoundChannel (OSL_SOUND *s) |
int | oslSoundLoopFunc (OSL_SOUND *s, int voice) |
Variables | |
OSL_AUDIO_VOICE | osl_audioVoices [OSL_NUM_AUDIO_CHANNELS] |
int oslGetSoundChannel | ( | OSL_SOUND * | s | ) |
Returns the channel on which a specific sound is being played, or -1 if the sound is not being played currently.
int oslSoundLoopFunc | ( | OSL_SOUND * | s, | |
int | voice | |||
) |
Standard callback function that loops a sound. Set as the sound end callback by oslSetSoundLoop.
OSL_AUDIO_VOICE osl_audioVoices[OSL_NUM_AUDIO_CHANNELS] |
Represents the currently active voices properties. Especially, you can find a 'sound' member, which holds a pointer to the currently playing sound in this voice.