Muting other applications, then playing a sound
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: Muting other applications, then playing a sound

  1. #1
    Join Date
    Sep 2010
    Posts
    1

    Exclamation Muting other applications, then playing a sound

    Hi,

    I'm trying to make an application that mutes other applications, plays a sound, and exits.
    Been trying to use DirectSound, but if I take control of the primary buffer I can't use secondary buffers and I can't manage to play a WAV/MP3 file.

    Please help.

  2. #2
    Join Date
    Jun 2008
    Posts
    2,477

    Re: Muting other applications, then playing a sound

    And why would you need to "mute other applications"?

  3. #3
    Join Date
    Jun 2001
    Location
    Melbourne/Aus (C# .Net 4.0)
    Posts
    686

    Re: Muting other applications, then playing a sound

    I'm intrigued to know too. A can only think that your application is responsible for detecting incoming missiles? If it is, then a better idea would be to run it on it's own computer or 3.

    EDIT: And wire up some bigger speakers.
    Last edited by rliq; September 16th, 2010 at 01:30 AM.
    Rob
    -
    Ohhhhh.... Old McDonald was dyslexic, E O I O EEEEEEEEEE.......

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center