Gyannea
March 2nd, 2003, 04:09 PM
My understanding is that the 'waveOutReset() API function stops the playing, sends a MM_WOM_DONE message and returns a value giving the status (error or not).
However, if I have
MessageBox(some stuff);
if(waveOutReset())
{
MessageBox(blah, blah);
}
MessageBox(bha2, blah2);
Only the first call to MessageBox displays something; the sound DOES stop, but the other two calls never appear. The MM_WOM_DONE message is also never posted. Does anyone understand exactly what waveOutReset() does?
What happens if nothing is playing? Is there any situation where it will be called and not return (like it's waiting for somewthing)?
Thanks for any help.
However, if I have
MessageBox(some stuff);
if(waveOutReset())
{
MessageBox(blah, blah);
}
MessageBox(bha2, blah2);
Only the first call to MessageBox displays something; the sound DOES stop, but the other two calls never appear. The MM_WOM_DONE message is also never posted. Does anyone understand exactly what waveOutReset() does?
What happens if nothing is playing? Is there any situation where it will be called and not return (like it's waiting for somewthing)?
Thanks for any help.