Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > C++ > Re: To Play ".w...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 5 of 5 Topic 45789 of 48020
Post > Topic >>

Re: To Play ".wave" file with C++(Background music)

by James Kanze <james.kanze@[EMAIL PROTECTED] > May 9, 2008 at 05:02 AM

On May 7, 5:44 pm, red floyd <no.s...@[EMAIL PROTECTED]
> wrote:
> andrew.smith....@[EMAIL PROTECTED]
 wrote:

> > how can i play a ".wav" file in C++.means with the help of the C++
> > code i just want to play a "a.wav" file more then 10 times. i just
> > want to play background music.
> > Can i do it in C++ ?
> > if yes then how ?

> ISO/IEC 14882:2003 does not discuss "WAV" files.  Please ask
> in a newsgroup dedicated to your platform.  My guess is you're
> on Windows, so try a group with either "windows" or
> "microsoft" in its name.

Alternatively, he should try to find a more or less ****table
library.  At some point, the code will have to access some
platform specific API in order to generate sound.  And of
course, how this works, along with details of how to interpret a
wave file, aren't really on topic here.  But unless he's a real
expert (in which case, he wouldn't have asked the question),
it's better to find some third party library which has already
addressed both of those questions.

--
James Kanze (GABI Software)             email:james.kanze@[EMAIL PROTECTED]
 en informatique orient=E9e objet/
                   Beratung in objektorientierter Datenverarbeitung
9 place S=E9mard, 78210 St.-Cyr-l'=C9cole, France, +33 (0)1 30 23 00 34
 




 5 Posts in Topic:
To Play ".wave" file with C++(Background music)
andrew.smith.cpp@[EMAIL P  2008-05-07 02:25:44 
Re: To Play ".wave" file with C++(Background music)
red floyd <no.spam@[EM  2008-05-07 08:44:04 
Re: To Play ".wave" file with C++(Background music)
andrew.smith.cpp@[EMAIL P  2008-05-07 22:04:56 
Re: To Play ".wave" file with C++(Background music)
red floyd <no.spam@[EM  2008-05-07 22:12:17 
Re: To Play ".wave" file with C++(Background music)
James Kanze <james.kan  2008-05-09 05:02:24 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue Oct 14 8:51:08 CDT 2008.