irrkalng
Posted: Thu Aug 09, 2007 2:28 am
Hey guys, im an Irrlicht user jsut now starting to implement sound. my goal is simple. i want to play an MP3 in my first person rpg. I want the music to be the same no matter where he goes. i have this code in my project and it compiles fine. the game also loads with no problems but i dont see why the song doesnot play
//______________________________________Music__________________________
ISoundEngine* engine = createIrrKlangDevice();
audio::ISound* music = engine->play3D("everyone.mp3",
core::vector3df(6000,1300,9200), true, false, true);
ive tried many thing like setting the volume to 1.0f and making max distance 200000 and min distance 1
nuthin plays the song
thats basically it. i dont hear any sounds at all. do i need to attack it to the camera? if so how. thakns people.
//______________________________________Music__________________________
ISoundEngine* engine = createIrrKlangDevice();
audio::ISound* music = engine->play3D("everyone.mp3",
core::vector3df(6000,1300,9200), true, false, true);
ive tried many thing like setting the volume to 1.0f and making max distance 200000 and min distance 1
nuthin plays the song
thats basically it. i dont hear any sounds at all. do i need to attack it to the camera? if so how. thakns people.