[Audio] OpenAL & FreeAlut
Moderator: PPS-Leaders
- Dorian
- Human Space Navy Lieutenant
- Posts: 20
- Joined: Mon Oct 01, 2007 9:15 am
- Location: Walliswil-Wangen
- Contact:
[Audio] OpenAL & FreeAlut
I've started to do some work on the audio branch, tryed out OpenAL with FreeAlut and now doing some tutorials and trying to impelment some background sounds in orxonos.
I've made a little Wiki page on OpenAL: http://www.orxonox.net/wiki/OpenAL
and am now trying to implement classes for handling all the audio stuff.
I've made a little Wiki page on OpenAL: http://www.orxonox.net/wiki/OpenAL
and am now trying to implement classes for handling all the audio stuff.
Only wimps use tape backup: real men just upload their important stuff on ftp, and let the rest of the world mirror it. (Linus Torvalds)
- Dorian
- Human Space Navy Lieutenant
- Posts: 20
- Joined: Mon Oct 01, 2007 9:15 am
- Location: Walliswil-Wangen
- Contact:
OpenAL and FreeAlut compile & link now correctly with system libs found by cmake. One should set the include dir in cmake to the root include dir and not to .../include/AL, as it is done in the example findopenal.cmake. I changed this so that it works correctly cause it is a convention that one uses #include <AL/al.h>
I've added a sound buffer, a sound sources and a soundmanager class, which should handle all the sound stuff; it is far from complete, but I'll work on it next Wednesday so that one can hear a nice background sound or one can attach sounds to events or positions.
I've added a sound buffer, a sound sources and a soundmanager class, which should handle all the sound stuff; it is far from complete, but I'll work on it next Wednesday so that one can hear a nice background sound or one can attach sounds to events or positions.
Only wimps use tape backup: real men just upload their important stuff on ftp, and let the rest of the world mirror it. (Linus Torvalds)
- Dorian
- Human Space Navy Lieutenant
- Posts: 20
- Joined: Mon Oct 01, 2007 9:15 am
- Location: Walliswil-Wangen
- Contact:
So, now got the background sound working in Orxonox during this wednesday's 11 hour programmers session
There is now a playlist for background sounds. Next step is to link this together with the level loader so that one can define a set of background sounds in the xml file and I'll have to do some checks in case there are problems loading the files.
There is now a playlist for background sounds. Next step is to link this together with the level loader so that one can define a set of background sounds in the xml file and I'll have to do some checks in case there are problems loading the files.
Only wimps use tape backup: real men just upload their important stuff on ftp, and let the rest of the world mirror it. (Linus Torvalds)
Who is online
Users browsing this forum: No registered users and 5 guests