Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
OpenAL
#1
Just finished porting OpenAL to FreeBASIC.

Download

OpenAL is a cross-platform 3D audio API appropriate for use with gaming applications and many other types of audio applications.

It's currently being used by many commercial games, including Unreal 2, Unreal Tournament 2003, Unreal Tournament 2004 and Soldier of Fortune. (more titles...).

More info about OpenAL is available at http://www.openal.org/.

A good starter tutorial (written for C):

http://www.devmaster.net/articles/openal...esson1.php


I haven't tested all of it - there will be bugs, without a doubt.

Please e-mail problems and/or fixes to: c.g.davies@gmail.com

-shiftLynx
img]http://www.cdsoft.co.uk/misc/shiftlynx.png[/img]
Reply
#2
Awesome!!! :bounce:
Reply
#3
I'll post this over at freebasic.tk if you dont mind shiftLynx
Reply
#4
What Dr_D said ;)

I already added it to the FB package, all credits given.. thanks.

Too bad my crappy onboard sound-card didn't support it, no sound here and no erros shown either -- i ran the test on a debugger and when alutInit calls alcOpenDevice, Windows last error is set to ERROR_MOD_NOT_FOUND (0000007E), i guess there's no drivers for DirectSound3D, anyways..

EDIT: Found out what was wrong, the wrap_oal.dll was missing, it's needed for sound-cards that don't support OpenAL. Running the Creative Labs' installer (your sound-card can by of any brand though) will fix that: http://developer.creative.com/articles/a...=38&aid=46
Reply
#5
Cool!!
y smiley is 24 bit.
[Image: anya2.jpg]

Genso's Junkyard:
http://rel.betterwebber.com/
Reply
#6
Quote:EDIT: Found out what was wrong, the wrap_oal.dll was missing, it's needed for sound-cards that don't support OpenAL.

Okay, added the DLL to the zip... I've made the directory structure of the zip nicer as well, so it should be possible just to unzip the archive to the FreeBASIC folder and have everything fall into place.

No changes were made to the headers or the static lib files.

-shiftLynx
img]http://www.cdsoft.co.uk/misc/shiftlynx.png[/img]
Reply
#7
Good, it works now. Tongue I have one of those stupid Integrated Digital Audio(uses the motherboard piece of shit) sound cards. I guess it didn't like it without that dll. :roll:
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)