Lines Matching refs:len
158 static void DSPi_PlaySoundEx(const void *src, u32 len, u32 ctrl, int priority) in DSPi_PlaySoundEx() argument
175 len >>= 1; in DSPi_PlaySoundEx()
183 command.len = DSP_32BIT_TO_DSP(len); in DSPi_PlaySoundEx()
204 void DSPi_PlaySoundCore(const void *src, u32 len, BOOL stereo) in DSPi_PlaySoundCore() argument
207 DSPi_PlaySoundEx(src, len, ctrl, DSP_SOUND_PRIORITY_NORMAL); in DSPi_PlaySoundCore()
223 BOOL DSPi_PlayShutterSoundCore(const void *src, u32 len)
237 if(len < cur+12)
254 if(len < cur+8)
261 if(len < cur+chunkSize)
317 BOOL DSPi_PlayShutterSoundCore(const void *src, u32 len) in DSPi_PlayShutterSoundCore() argument
319 #pragma unused(len) in DSPi_PlayShutterSoundCore()
326 if(len < 44) in DSPi_PlayShutterSoundCore()
352 if(len < cur+raw_len) in DSPi_PlayShutterSoundCore()
400 command.len = DSP_32BIT_TO_DSP(0); in DSPi_StopSoundCore()
469 command.len = DSP_32BIT_TO_DSP(0); in DSPi_StartSamplingCore()
502 command.len = DSP_32BIT_TO_DSP(0); in DSPi_StopSamplingCore()
531 int len = end - DSPiReadPosition; in DSPi_SyncSamplingBufferCore() local
533 &DSPiLocalRingBuffer[DSPiLocalRingOffset], DSP_WORD_TO_ARM(len)); in DSPi_SyncSamplingBufferCore()
534 DSPiReadPosition += len; in DSPi_SyncSamplingBufferCore()
539 DSPiLocalRingOffset += len * sizeof(s16); in DSPi_SyncSamplingBufferCore()