Searched refs:soundcursor (Results 1 – 3 of 3) sorted by relevance
151 if((soundsystem->soundcursor + soundsystem->numsamples) > soundsystem->buffersize) in MixSound()153 …allback(&soundsystem->mixbuffer[soundsystem->soundcursor],soundsystem->buffersize - soundsystem->s… in MixSound()154 remain = soundsystem->numsamples - (soundsystem->buffersize - soundsystem->soundcursor); in MixSound()159 SoundMixCallback(&soundsystem->mixbuffer[soundsystem->soundcursor],soundsystem->numsamples); in MixSound()164 if((soundsystem->soundcursor + soundsystem->numsamples) > (soundsystem->buffersize >> 1)) in MixSound()166 …k(&soundsystem->mixbuffer[soundsystem->soundcursor << 1],(soundsystem->buffersize >> 1) - soundsys… in MixSound()167 remain = soundsystem->numsamples - ((soundsystem->buffersize >> 1) - soundsystem->soundcursor); in MixSound()172 SoundMixCallback(&soundsystem->mixbuffer[soundsystem->soundcursor << 1],soundsystem->numsamples); in MixSound()
41 soundsystem->soundcursor = 0; in SoundSystemInit()
58 u32 soundcursor,numsamples; member