Is it possible to make a beep sound which always plays in the speakers so people can hear it no matter if a headset is pluged in?
I am using c# wpf .Net 4.0 and of course windows 7
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Starting in Windows 7, and in 64-bit versions of previous operating systems, the answer is no, you cannot always do a hardware beep. Larry Osterman explains why.
You can have a beep, but the core functionality moved into the Windows audio subsystem; so it would play through headphones if they are plugged in. As far as I know, there is no way to forcefully do a hardware beep in all cases in modern operating systems.
You can still perform a Beep using
Console.Beep().