playMusic vs. play2D

Post your questions, suggestions and experiences regarding game design, integration of external libraries here. For irrEdit, irrXML and irrKlang, see the
ambiera forums
Post Reply
Jeko
Posts: 2
Joined: Sun Jan 21, 2007 6:39 pm
Location: Switzerland

playMusic vs. play2D

Post by Jeko »

Hi

I'm just courious what's the difference between playMusic() and play2D() ?

While play2D() is working fine I coudn't create any sound with playMusic().

May somebody can give me some code lines.

I have tried this

Code: Select all

ISoundSource *source = SoundEngine->addSoundSource("sound\\The_Castle_Below.ogg"); 
SoundEngine->playMusic(source);
SoundEngine->setMusicVolume((f32)1.0);
No error but also no sound. :D
BMarleyFR
Posts: 19
Joined: Thu Jan 18, 2007 12:14 am

Hi

Post by BMarleyFR »

Hi,

playMusic() is not implement yet, look at the note in the ISoundEngine.h source file --> " NOTE: Not implemented yet." ;)
Jeko
Posts: 2
Joined: Sun Jan 21, 2007 6:39 pm
Location: Switzerland

Re: Hi

Post by Jeko »

BMarleyFR wrote: playMusic() is not implement yet, look at the note in the ISoundEngine.h source file --> " NOTE: Not implemented yet." ;)
In fact, if I remove my sunglasses I can read this now :D

Thanks
BMarleyFR
Posts: 19
Joined: Thu Jan 18, 2007 12:14 am

Post by BMarleyFR »

:wink: :D
Post Reply