Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / March 2005

Tip: Looking for answers? Try searching our database.

Pausing Sound

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
LoAnn - 09 Mar 2005 18:53 GMT
  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,
William DePalo [MVP VC++] - 09 Mar 2005 19:11 GMT
>   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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.