Quantcast
Channel: Visual C forum
Viewing all articles
Browse latest Browse all 15302

PlaySound() is unstable in Windows 7 - 64bit machines - please help

$
0
0

We have an application that plays a short (half senond) capture sound every time a capture event occurs using a call to PlaySound(). In my Windows 7 - 64bit device, if these events happen quickly (back to back), we do not hear any of the capture sounds played back. We only hear the last one.

In Windows XP and 32 bit windows 7 machines we do not see this problem.

Here is how we make this call

PlaySound(MAKEINTRESOURCE(WAVE_CAPTURE_SOUND),NULL, SND_ASYNC | SND_RESOURCE);

I have tried all sorts of combinations of PlaySound flags and non of them seem to help.  Do you have any ideas on how to resolve this issue.

Thank you for your attention


Viewing all articles
Browse latest Browse all 15302

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>