Searched refs:soundsystem (Results 1 – 3 of 3) sorted by relevance
149 if(soundsystem->format == 8) in MixSound()151 if((soundsystem->soundcursor + soundsystem->numsamples) > soundsystem->buffersize) in MixSound()153 …SoundMixCallback(&soundsystem->mixbuffer[soundsystem->soundcursor],soundsystem->buffersize - sound… in MixSound()154 remain = soundsystem->numsamples - (soundsystem->buffersize - soundsystem->soundcursor); in MixSound()155 SoundMixCallback(soundsystem->mixbuffer,remain); in MixSound()159 SoundMixCallback(&soundsystem->mixbuffer[soundsystem->soundcursor],soundsystem->numsamples); in MixSound()164 if((soundsystem->soundcursor + soundsystem->numsamples) > (soundsystem->buffersize >> 1)) in MixSound()166 …SoundMixCallback(&soundsystem->mixbuffer[soundsystem->soundcursor << 1],(soundsystem->buffersize >… in MixSound()167 remain = soundsystem->numsamples - ((soundsystem->buffersize >> 1) - soundsystem->soundcursor); in MixSound()168 SoundMixCallback(soundsystem->mixbuffer,remain); in MixSound()[all …]
29 soundsystem->rate = rate; in SoundSystemInit()32 soundsystem->buffersize = buffersize; in SoundSystemInit()34 soundsystem->buffersize = buffersize * sizeof(short); in SoundSystemInit()36 soundsystem->mixbuffer = (s8*)SDL_malloc(soundsystem->buffersize); in SoundSystemInit()38 soundsystem->format = format; in SoundSystemInit()39 soundsystem->channel = channel; in SoundSystemInit()40 soundsystem->prevtimer = 0; in SoundSystemInit()41 soundsystem->soundcursor = 0; in SoundSystemInit()42 soundsystem->numsamples = 0; in SoundSystemInit()43 soundsystem->period = 0x1000000 / rate; in SoundSystemInit()[all …]
63 #define soundsystem ((S_SoundSystem*)((u32)(IPC)+sizeof(TransferRegion))) macro