[wdmaudiodev] Re: Problem using waveOutOpen on win7
- From: Tim Roberts <timr@xxxxxxxxx>
- To: "wdmaudiodev@xxxxxxxxxxxxx" <wdmaudiodev@xxxxxxxxxxxxx>
- Date: Thu, 16 Jun 2016 11:01:53 -0700
caijing wrote:
I have problem using waveOutOpen on win7.
In my application, I need to call waveOutOpen 200 times to open
devices - waveOutOpen (handle, deviceId0/deviceId1,
Pcm48Khz16BitStereo, 0,0,0)
Why? Why can't you manage this locally by opening each device once and
persisting the handle?
I found that the memory of audiodg.exe process rise quickly, and
waveOutOpen randomly return MMSYSERR_ERROR(often after 80 times),
finally waveOutOpen return MMSYSERR_NOMEM.
Are you pairing opens and closes correctly?
Unfortunately, the MMSystem APIs are no longer "supported" by Microsoft,
so it may be difficult to get traction.
--
Tim Roberts, timr@xxxxxxxxx
Providenza & Boekelheide, Inc.
Other related posts: