irrKlang 0.5 released - including support for Linux

I just released irrKlang 0.5 with some major new features: Linux support (via ALSA) and a winmm output driver for Windows. I also fixed several bugs and added some minor new features such as the option to (un)pause all sounds at the same time, thanks for the bug reports and all the suggestions and ideas.
As this is the first Linux release of irrKlang, I would be really happy if you could try it out and report any issues: Just download irrKlang 0.5, go into the examples/01.HelloWorld directory, run 'make' and start it via './example'. It was a bit of work to make the 3D sound engine run in Linux, especially with the crappy documentation and debug interfaces in that OS, but as everything is working now I'm quite happy. There is some room for improvements and optimization, but this will have to wait for the next releases.
In addition, I updated a bit and changed the default example .ogg file of irrKlang. Previously, it was a song composted by me in 1999 (still available in the old irrKlang packages) but to take care of your ears, I decided to replace it with a CC 2.5 licensed song created by shockshadow.

fifteen comments, already:

Wow. I’m impressed.
jasper () - 19 02 07 - 19:06

Miguel (link) - 19 02 07 - 19:47

Keep it up, niko!
Virion () - 20 02 07 - 01:57

Hey, great!

But it would be better, if I could get it to work somehow here. ;)
1. No 64 bit support
2. Compiling with 32-bit chroot fails as well:
”../../bin/linux-gcc/ undefined reference to `__stack_chk_fail@GLIBC_2.4’”
I use g++ 4 and have got version 2.3.6 of libc6, there isn’t any newer version available through apt (Debian Sid). Which version did you use to compile the library? Or is that error caused ba something else?

That would be easier if you released the sources… duck

“CPP = g++”
”$(CPP) main.cpp -o example $(OPTS)”

I’d change that to:
”$(CXX) main.cpp -o example $(OPTS)”
That’s afaik far more common, CXX is already preset and you can change it from the command line more easily.
phoenix () (link) - 20 02 07 - 11:26

I have the same problems as described above. I have a amd64 OS, too, and the example doesn’t compile on my x86 system because I don’t have glibc2.4 … I am running Debian Etch on both machines.
Thammi () (link) - 20 02 07 - 16:37

it was compiled using Ubuntu Edgy Eft, and most people seem to have no problem using it. I’m no linux expert, and don’t know where you could get that version for your os. but I’ll investigate a bit when I have some time.
niko - 20 02 07 - 19:29

“forceReloadAtNextUse” rock!!
lonesock - 20 02 07 - 20:19

Niko – below is my comment from the .4 release and your response. Please add c# support soon. I honestly feel that Irrlicht and IrrKlang are designed better than some of the alternatives and the community is much more mature. An increased emphasis on c# for both of them would be a boost in my opinion. I have been able to produce some amazing results with Irrlicht and am looking forward to dumping DirectSound as soon as IrrKlang is ready to make the c# leap. I also want to thank you for all of the effort you put into your projects and the professionalism and courtesy that you show to the community.

IrrKlang looks great and keeps getting better. Any chance of a c# wrapper?

Nate (email) – 11 01 07 – 00:03

planned for the next release.
niko – 11 01 07 – 17:58
Nate - 21 02 07 - 05:53

I second that Nate. I too would love to see irrKlang in c#... but i am sure Niko is doing his best…
leo () (link) - 22 02 07 - 07:56

do you, or will you have midi support for irrklang, i think this would really be awsome. Not nessessarily even .mid files, just notes. Like “playMidi(int length, int tone, int volume, int voice /* etc…. */);”
Thomas_ - 22 02 07 - 10:13

yep, the .NET port is on my list (I already started coding it, btw), but I cannot to everything at the same time, I’m only human. :)
midi/tunes: hm, yep, why not. :)
niko - 22 02 07 - 17:40

Wuha nasty, linux support have to test it at home ;))
Q-efx - 22 02 07 - 18:05

Niko is a coding machine, and I realize he is only human. Like many of the .NET coders (I started in c++ years ago) I use c# because I can develop very quickly using it. IrrKlang working with .NET is very exciting to me. I have a DirectSound 9 engine that I wrote that is very versatile that I currently use in my project, but I would rather use IrrKlang.
Nate - 22 02 07 - 19:34

Hey dude, once you have time to work on this again, do you think it is possible to add a function to play sound backwards/slower/faster? That would be awesome. Good work on this so far! :D
BlindSide - 23 02 07 - 13:23

Uhm cant compile, it with linux 64 bit suse 10.2? ;(
Q-efx () - 27 02 07 - 18:53

Remember personal info?
Email (optional):
URL (optional):
Enter "layered" (antispam):
Comment:Emoticons / Textile

  ( Register your username / Log in )

Notify: Yes, send me email when someone replies.  

Small print: All html tags except <b> and <i> will be removed from your comment. You can make links by just typing the url or mail-address.
Note: If you type in your email adress above, it will be visible to other visitors, although it will be hidden for bots using javaScript.