Пример #1
0
	MMRESULT TinyWaveOut::BreakLoop()
	{
		if (hWaveOut == NULL) return S_FALSE;
		MMRESULT hRes = waveOutBreakLoop(hWaveOut);
		if (hRes != MMSYSERR_NOERROR)
		{
			waveOutClose(hWaveOut);
			hWaveOut = NULL;
		}
		return hRes;
	}
Пример #2
0
static	DWORD	wodBreakLoop(WAVEMAPDATA* wom)
{
    TRACE("(%p)\n",wom);

    return waveOutBreakLoop(wom->u.out.hInnerWave);
}
Пример #3
0
void wince_sound_interrupt(void)
{
	int i;
	for (i = 0; i < NUM_WAVEHDRS; i++)
		waveOutBreakLoop(This.m_hWaveOut);
}