Load music

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
Thomaskkc
Posts: 134
Joined: Fri Sep 15, 2006 4:04 pm

Load music

Post by Thomaskkc »

is there any load music example?

thx~
Thomaskkc
Posts: 134
Joined: Fri Sep 15, 2006 4:04 pm

Post by Thomaskkc »

anyone knows?
Luben
Posts: 568
Joined: Sun Oct 09, 2005 10:12 am
Location: #irrlicht @freenode

Post by Luben »

Are you searching for sound-libraries to use, or do you already have one?
I use fmod for sound/music playback (www.fmod.org i think).
If you don't have anything nice to say, don't say anything at all.
Thomaskkc
Posts: 134
Joined: Fri Sep 15, 2006 4:04 pm

Post by Thomaskkc »

what sound-libraries should use?
in the demo of Irr, it said that can play sound, but it still can't play
so is that need to include something?

or is there any tutor / ref to teach me how to add sound to the Irr program?

it's urgent, coz i need to add this function within these 2 weeks

thx
belfegor
Posts: 383
Joined: Mon Sep 18, 2006 7:22 pm
Location: Serbia

Post by belfegor »

Download this:

http://irrlicht.piskernig.at/irrKlang-0.5.zip

and you can find some tutorials in it also.
Small FPS demo made using Irrlicht&NewtonDEMO
InfoHERE
Its at very early stage but i think im crazy enough to finish it all alone.
belfegor
Posts: 383
Joined: Mon Sep 18, 2006 7:22 pm
Location: Serbia

Post by belfegor »

it's urgent, coz i need to add this function within these 2 weeks
I suggest to delay that for at least 2 years.
Small FPS demo made using Irrlicht&NewtonDEMO
InfoHERE
Its at very early stage but i think im crazy enough to finish it all alone.
Luben
Posts: 568
Joined: Sun Oct 09, 2005 10:12 am
Location: #irrlicht @freenode

Post by Luben »

irrKlang is a sound library designed by the original designer of irrlicht, so if you want an 'all in one'-like package i suggest irrklang. irrKlan has its own forum too, check the forum index. good luck =)
If you don't have anything nice to say, don't say anything at all.
Thomaskkc
Posts: 134
Joined: Fri Sep 15, 2006 4:04 pm

Post by Thomaskkc »

i have try IrrKlang, but when i createIrrKlangDevice
it link error:

unresolved external symbol "__declspec(dllimport) class irr::audio::ISoundEngine * __cdecl irr::audio::createIrrKlangDevice(enum irr::audio::E_SOUND_OUTPUT_DRIVER,int,char const *)" (__imp_?createIrrKlangDevice@audio@irr@@YAPAVISoundEngine@12@W4E_SOUND_OUTPUT_DRIVER@12@HPBD@Z) referenced in function "public: void __thiscall MainMenu::runMenu(void)" (?runMenu@MainMenu@@QAEXXZ)

why?
Luben
Posts: 568
Joined: Sun Oct 09, 2005 10:12 am
Location: #irrlicht @freenode

Post by Luben »

You have to link to the irrklang library file, just like you have to link to the irrlicht library file.
How you do depends on your compiler/ide.
If you don't have anything nice to say, don't say anything at all.
Thomaskkc
Posts: 134
Joined: Fri Sep 15, 2006 4:04 pm

Post by Thomaskkc »

i hv link irrklang library file
and it has been included, still not work
Thomaskkc
Posts: 134
Joined: Fri Sep 15, 2006 4:04 pm

Post by Thomaskkc »

the tutorial work
why my program have link error?
rogerborg
Admin
Posts: 3590
Joined: Mon Oct 09, 2006 9:36 am
Location: Scotland - gonnae no slag aff mah Engleesh
Contact:

Post by rogerborg »

Thomaskkc wrote:the tutorial work
why my program have link error?
There's a separate forum for irrKlang; you may get more help if you ask in there.
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
Post Reply