为什么在关闭音频的时候关闭不掉
TRUE 2004-04-05 02:45:35 我的代码如下:
MMRESULT mmr = waveOutReset(m_hOutDev);/we reset the device*/
mmr = waveOutClose(m_hOutDev);/*second, close the device*/
if (mmr != 0)
{
MMERR(mmr);
}
m_hOutDev = NULL;/*set m_hOutDev to NULL*/
但是有的时候在执行到MMRESULT mmr = waveOutReset(m_hOutDev)的时候,系统就停滞了,再也不能执行和调试了,也就是说音频关闭不掉。