Home | History | Annotate | Download | only in audio

Lines Matching refs:dsb

284 static int dsound_restore_out (LPDIRECTSOUNDBUFFER dsb)
290 hr = IDirectSoundBuffer_Restore (dsb);
314 static int dsound_get_status_out (LPDIRECTSOUNDBUFFER dsb, DWORD *statusp)
320 hr = IDirectSoundBuffer_GetStatus (dsb, statusp);
327 if (dsound_restore_out (dsb)) {
379 static void dsound_clear_sample (HWVoiceOut *hw, LPDIRECTSOUNDBUFFER dsb)
386 dsb,
415 dsound_unlock_out (dsb, p1, p2, blen1, blen2);
516 LPDIRECTSOUNDBUFFER dsb = ds->dsound_buffer;
518 if (!dsb) {
525 if (dsound_get_status_out (dsb, &status)) {
534 dsound_clear_sample (hw, dsb);
536 hr = IDirectSoundBuffer_Play (dsb, 0, 0, DSBPLAY_LOOPING);
544 if (dsound_get_status_out (dsb, &status)) {
549 hr = IDirectSoundBuffer_Stop (dsb);
573 LPDIRECTSOUNDBUFFER dsb = ds->dsound_buffer;
582 if (!dsb) {
591 dsb,
660 dsb,
684 dsound_unlock_out (dsb, p1, p2, blen1, blen2);