音频相关的1处缺陷修复

1、TestRun读取配置文件改为setting.ini,配置项为 [settings] localIp 和 ghost。
2、CAudio的线程waveInCallBack在while循环有一处return,已改为break.
This commit is contained in:
yuanyuanxiang
2019-04-19 11:02:18 +08:00
parent 953d298c1c
commit 60a59b8dd5
3 changed files with 10 additions and 6 deletions

View File

@@ -178,7 +178,7 @@ DWORD WINAPI CAudio::waveInCallBack(LPVOID lParam)
MMRESULT mmResult = waveInAddBuffer(This->m_hWaveIn,
This->m_InAudioHeader[This->m_nWaveInIndex], sizeof(WAVEHDR));
if (mmResult != MMSYSERR_NOERROR)
return -1;
break;
}
if (Msg.message == MM_WIM_CLOSE)