Lines Matching refs:len
168 static void DSPi_PlaySoundEx(const void *src, u32 len, u32 ctrl, int priority) in DSPi_PlaySoundEx() argument
185 len >>= 1; in DSPi_PlaySoundEx()
193 command.len = DSP_32BIT_TO_DSP(len); in DSPi_PlaySoundEx()
214 void DSPi_PlaySoundCore(const void *src, u32 len, BOOL stereo) in DSPi_PlaySoundCore() argument
217 DSPi_PlaySoundEx(src, len, ctrl, DSP_SOUND_PRIORITY_NORMAL); in DSPi_PlaySoundCore()
233 BOOL DSPi_PlayShutterSoundCore(const void *src, u32 len)
247 if(len < cur+12)
264 if(len < cur+8)
271 if(len < cur+chunkSize)
327 BOOL DSPi_PlayShutterSoundCore(const void *src, u32 len) in DSPi_PlayShutterSoundCore() argument
329 #pragma unused(len) in DSPi_PlayShutterSoundCore()
336 if(len < 44) in DSPi_PlayShutterSoundCore()
362 if(len < cur+raw_len) in DSPi_PlayShutterSoundCore()
410 command.len = DSP_32BIT_TO_DSP(0); in DSPi_StopSoundCore()
480 command.len = DSP_32BIT_TO_DSP(0); in DSPi_StartSamplingCore()
513 command.len = DSP_32BIT_TO_DSP(0); in DSPi_StopSamplingCore()
542 int len = end - DSPiReadPosition; in DSPi_SyncSamplingBufferCore() local
543 while (len > 0) in DSPi_SyncSamplingBufferCore()
545 …int segment = (int)MATH_MIN(len, DSP_WORD_TO_DSP32(DSPiLocalRingLength - DSPiLocalRingOffset)); in DSPi_SyncSamplingBufferCore()
548 len -= segment; in DSPi_SyncSamplingBufferCore()