PC Speaker Music

  • Thread starter a.dheeraj.kumar
  • Start date
V

Victor Bazarov

How to play wav files through the internal speaker?

You need to install a particular driver and then do it as you would with
any other speaker. BTW, do you have a C or a C++ *language* question?

V
 
F

Flash Gordon

How to play wav files through the internal speaker?

Standard C knows nothing about wav files and at most how to make some
systems do some form of beep (by printing a bell to standard output). I
can't be bothered to look up whether the C standard defines the escape
sequence for the bell character, so even that may not be part of the
standard.

Try asking in a group dedicated to your system, but check the FAQ and a
few days postings on the group you select first.
 
R

red floyd

Flash said:
I
can't be bothered to look up whether the C standard defines the escape
sequence for the bell character, so even that may not be part of the
standard.

I believe it's '\a'.
 
M

Mike Wahler

Flash Gordon said:
Standard C knows nothing about wav files and at most how to make some
systems do some form of beep (by printing a bell to standard output). I
can't be bothered to look up whether the C standard defines the escape
sequence for the bell character, so even that may not be part of the
standard.

C (and C++) define an escape sequence '\a' which
means 'alert'. Which may or may not manifest itself
as an audible signal. Depends upon the implementation
and platform.

-Mike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top