Discussion:
[Audiere-users] including audiere into irrlicht-engine
Oliver Schwarz
2005-11-26 16:58:03 UTC
Permalink
Hello,

my name is Oliver. I try to develop something graphical with the irrlicht-engine,
which is an open-source graphic engine.

I wish to add sound to my project, so I found "audiere" when googeling.

I downloaded all, and typed in

"#include <audiere.h>
using namespace audiere;

And then I was trying to let some sound play.
It caused a huge sum of errors, unable to have an overlook.

Most important are two facts:

------> the audio-device, which I have to open first, shouldn't have
the same name as the irrlicht device, which is called device.

I had no chanche to find out how to change these names.

------> I have to initialize the sound (maybe this means to open the
audio-device.

I had no chance to find out where this is to be placed in my
program. It caused a lot of errors, even synatx errors only
having copied and pasted the code you give in your web-page.


Please, could you give me any advice?
No one gave me a useable answer, nor in the irrlicht-forums, no where.


Kind regards from Stuttgart



Oliver
Jens Bergensten
2005-11-27 09:48:06 UTC
Permalink
Don't write "using namespace audiere". Learn to use the namespaces, it's
better in the long run. In other words, type audiere::ClassName

// Jens Bergensten
Post by Oliver Schwarz
Hello,
my name is Oliver. I try to develop something graphical with the irrlicht-engine,
which is an open-source graphic engine.
I wish to add sound to my project, so I found "audiere" when googeling.
I downloaded all, and typed in
"#include <audiere.h>
using namespace audiere;
And then I was trying to let some sound play.
It caused a huge sum of errors, unable to have an overlook.
------> the audio-device, which I have to open first, shouldn't have
the same name as the irrlicht device, which is called device.
I had no chanche to find out how to change these names.
------> I have to initialize the sound (maybe this means to open the
audio-device.
I had no chance to find out where this is to be placed in my
program. It caused a lot of errors, even synatx errors only
having copied and pasted the code you give in your web-page.
Please, could you give me any advice?
No one gave me a useable answer, nor in the irrlicht-forums, no where.
Kind regards from Stuttgart
Oliver
Loading...