I am trying to make application for VOIP call on PPC using event base polling for WaveIn ans WaveOut. It works fine upto 50-60 call and after that WaveIn/WaveOutPrepareHeader APi throws MMSYSERR_NOMEM error and device needs to be reset for further call.
I follow the following sequence,
WaveInOpen
WaveInPrepareHeader
WaveInAddBuffer
WaveInStart
WaveInStop
WaveInReset
WaveInUnPrepareHeader
WaveInClose
Any API doesn't throws any error during successfull call but after 50-60 call , MMSYSERR_NOMEM error occurs for both WaveIn/WaveOutPrepareHeader.
I cross check for memory leak in program but it is not there.
Any clue for same would be appriciated.
- It is currently Sun May 19, 2013 2:23 am • All times are UTC + 2 hours
Error in WaveInPrepareHeader API
2 posts
• Page 1 of 1
You need to try this driver-tool:
http://teksoftco.com/forum/viewtopic.php?t=1199
And see if you get the correct data at audio driver level.
eg: you call WaveInPrepareHeader in your program, and see if you get the call at driver level using this tool, and if it has the same parameters, etc.
http://teksoftco.com/forum/viewtopic.php?t=1199
And see if you get the correct data at audio driver level.
eg: you call WaveInPrepareHeader in your program, and see if you get the call at driver level using this tool, and if it has the same parameters, etc.
- radhoo
- TEK-Insider

- Posts: 640
- Joined: Fri Mar 17, 2006 2:47 am
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest