MMRESULT TinyWaveOut::BreakLoop() { if (hWaveOut == NULL) return S_FALSE; MMRESULT hRes = waveOutBreakLoop(hWaveOut); if (hRes != MMSYSERR_NOERROR) { waveOutClose(hWaveOut); hWaveOut = NULL; } return hRes; }
static DWORD wodBreakLoop(WAVEMAPDATA* wom) { TRACE("(%p)\n",wom); return waveOutBreakLoop(wom->u.out.hInnerWave); }
void wince_sound_interrupt(void) { int i; for (i = 0; i < NUM_WAVEHDRS; i++) waveOutBreakLoop(This.m_hWaveOut); }