|
mobile下声音处理(调用API出错,高手请进)
[复制链接]
MMRESULT mres;
if (mres = waveOutOpen(&hWaveOut, WAVE_MAPPER, &lpFormat, (DWORD_PTR)sb_callback, (DWORD_PTR)pDeviceMemory, CALLBACK_FUNCTION) !=0)
{
printf("Open the wave out devices failed!");
goto end;
}
这个函数在MFC下调用时是可以正确处理的,到了mobile下就会产生mres = 1的错误,不知哪位高人能帮忙看下,再次多谢
|
|