Open markboyall opened 5 years ago
WaveOut is quite good at sharing, but I imagine with WaveIn it could be more tricky to support multiple applications capturing audio simultaneously. It may be simply the driver manufacturer for the specific soundcard. I'd recommend trying with a few alternative audio devices on the problem computer (or updating their device drivers)
We've already determined that WaveIn and our usage of it can support multiple instances of our own application due to a bug where you could create multiple instances and start recording in all of them simultaneously, so that one is out for us ;p
Just as an update, we've asked the customer to uncheck allowing exclusive access to the device, and this has not had any effect. I will forward your advice about updated drivers.
We are having an issue at our production sites where calling waveInOpen will frequently fail with MMSYSERR_ALLOCATED. As far as I can see, waveInOpen doesn't even have the option to take exclusive access, and we have succeeded in recording in multiple instances of our application simultaneously locally. Therefore my initial inclination is that it's impossible for any bug on our side to block the device and cause this specific problem.
That being said, we are seeing this issue in our software only at multiple sites. This heavily implies to me that there is a problem on our side.
Do you know of any possible causes for MMSYSERR_ALLOCATED other than other applications having exclusive access to the device?