How to stop all sound in a C# program

Discussion in 'C#' started by luckyluke, Aug 31, 2010.

  1. luckyluke

    luckyluke New Member

    Joined:
    Aug 31, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Hi all,
    Now I am programing a game in C#. So I use many sound events (moving, punching, screaming...). I create a Mute button, when running program. when users click on Mute, all sound will be disabled. So, i want use a system call from thread library, some thing like that...I have searched in MSDN but no feasible result. Somebody answer me, please. Many thanks!
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice