Welcome, Guest. Please login or register.
July 31, 2010, 08:01:53 PM
Home Help Search Login Register
News: Back to Qbasicnews.com | QB Online Help | FAQ | Chat | All Basic Code | QB Knowledge Base

Qbasicnews.com  |  Qbasic "like" compilers/interpreters  |  FB Discussion & Programming Help  |  FB Projects  |  Topic: OpenAL « previous next »
Pages: [1] Print
Author Topic: OpenAL  (Read 2875 times)
shiftLynx
Wandering Guru
***
Posts: 340



WWW
OpenAL
« on: February 15, 2005, 04:22:45 PM »

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-tutorials/lesson1.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
Logged

img]http://www.cdsoft.co.uk/misc/shiftlynx.png[/img]
Dr_Davenstein
Na_th_an
*****
Posts: 2044



OpenAL
« Reply #1 on: February 15, 2005, 07:19:56 PM »

Awesome!!! :bounce:
Logged
Z!re
*/-\*
*****
Posts: 4599



OpenAL
« Reply #2 on: February 15, 2005, 07:28:45 PM »

I'll post this over at freebasic.tk if you dont mind shiftLynx
Logged
v3cz0r
I hold this place together
*****
Posts: 924



WWW
OpenAL
« Reply #3 on: February 15, 2005, 09:10:33 PM »

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/article.asp?cat=1&sbcat=31&top=38&aid=46
Logged

relsoft
*/-\*
*****
Posts: 3924



WWW
OpenAL
« Reply #4 on: February 16, 2005, 04:45:59 AM »

Cool!!
Logged

y smiley is 24 bit.


Genso's Junkyard:
http://rel.betterwebber.com/
shiftLynx
Wandering Guru
***
Posts: 340



WWW
OpenAL
« Reply #5 on: February 16, 2005, 11:37:06 PM »

Quote from: "v3cz0r"

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
Logged

img]http://www.cdsoft.co.uk/misc/shiftlynx.png[/img]
Dr_Davenstein
Na_th_an
*****
Posts: 2044



OpenAL
« Reply #6 on: February 16, 2005, 11:52:35 PM »

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:
Logged
Pages: [1] Print 
Qbasicnews.com  |  Qbasic "like" compilers/interpreters  |  FB Discussion & Programming Help  |  FB Projects  |  Topic: OpenAL « previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC
SMF Theme © Gaia, Hosting by Employers Job Post
Valid XHTML 1.0! Valid CSS!