Pausing Sound

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I use the function PlaySound(FileName, NULL, SND_FILENAME | SND_ASYNC |
SND_NODEFAULT) to play a .WAV sound file in my program. How do I pause it?
Is there such function as PauseSound in Visual C++?

Thank you,
 
LoAnn said:
I use the function PlaySound(FileName, NULL, SND_FILENAME | SND_ASYNC |
SND_NODEFAULT) to play a .WAV sound file in my program. How do I pause
it?
Is there such function as PauseSound in Visual C++?

Your question is off-topic. You'll find multimedia help in the group

microsoft.public.win32.programmer.mmedia

While you aare here, note that PlaySound() exists for those cases where your
needs are minimal. Of course, there are more capable functions available as
well.

If instead of pause, you'd be willing to accept stop, then you can use NULL
as the first parameter to PlaySound().

Regards,
Will
 
Back
Top