how to play play and stop wav files.
i have one wav file i wnat to write a code to play the file.
how can it is possible in c.
how to play play and stop wav files.
i have one wav file i wnat to write a code to play the file.
how can it is possible in c.
I think you should use an OS API.
Learn C++ (C++ Books, C Books, FAQ, Forum Search)
Code painter latest version on sourceforge DOWNLOAD NOW!
Download FSB Data Integrity Tester.
Siavosh K C
i actually dealing with linux.i this
microsoft producys doesn't work.
Use OpenGL or SDL.
Yes, it is possible. It is, however, not easy to write a sound recorder/player. You should download and review the code for the "Another Linux Sound Architecture" (ALSA). Their aplay/arecord is a good place to start, btw, it will also play your wav file for you.
You'll also have to know some things about the header for wav files. . . Or, you could generate a raw file using SOX. . . outputting the file in the format you want. This makes things somewhat simpler.
Andy