Source code - waveplay.cpp

Find C and C++ source code to help you learn to program. You can submit your own code, or you can simply browse and download the code of others.

Finally, you might want to check out Code Cogs - An Open Source Scientific Library / Database in C++ for more code.

Index :: Sound / waveplay.cpp
waveplay.cpp
resource information
Title waveplay.cpp
URL http://www.cprogramming.com/source/waveplay.cpp
Category 4
Description This program will play wave files.
Contact Stephen Don
Added 08-10-2002 at 05:59 p.m.
Last Updated 08-10-2002 at 06:32 p.m.
rating
Current Rating 4.26666666666667
Rate Resource
 
reviews
Number of Reviews 13
Review this Resource
Reviews:
  • ebMPeQ , [url=http://paniekgpnyme.com/]paniekgpnyme[/url], [link=http://sxfmkwqrbdih.com/]sxfmkwqrbdih[/link], http://ecoloqliwvcw.com/
    posted at 02:00 p.m. on 01-06-2012
  • mVWacC <a href="http://tzmbqwhyomvl.com/">tzmbqwhyomvl</a>
    posted at 10:53 a.m. on 01-06-2012
  • dwzbSO , [url=http://mgmawptfwymx.com/]mgmawptfwymx[/url], [link=http://typqbrsqnbjd.com/]typqbrsqnbjd[/link], http://gzbjcnpidjxo.com/
    posted at 03:55 a.m. on 01-06-2012
  • eURUio <a href="http://lwrnssolgmzi.com/">lwrnssolgmzi</a>
    posted at 05:45 a.m. on 01-05-2012
  • Thanks for your tuhgohts. It's helped me a lot.
    posted at 11:41 p.m. on 01-04-2012
  • When you think about it, that's got to be the right ansewr.
    posted at 04:59 p.m. on 01-03-2012
  • 1
    posted at 04:57 p.m. on 12-19-2011
  • ha
    posted at 05:58 p.m. on 10-22-2011
  • U limited the size <32000. Also I had to convert to 8 bit mono to play it. But I modified it such it plays the file but after it hangs the Dos Editor. Anyways I can get to Windows. But if some more modified version if u can send. Also Why not take size of wav in long. why limit it by using unsigned int?
    posted at 09:31 a.m. on 01-07-2007
  • found alloc.h: http://www.cs.bham.ac.uk/resources/ums/SGI-STL/download.html didnt't work either
    posted at 05:29 a.m. on 05-27-2004
  • I agree, it won't compile
    posted at 11:07 p.m. on 03-09-2004
  • Lots of implicit declaration of functions. poorly programmed. Please try to improve it.
    posted at 10:50 p.m. on 11-13-2003
  • tried to compile it, did'nt work.
    posted at 06:19 a.m. on 08-19-2003