PDA

View Full Version : OpenAL and FreePascal on Linux



Bart
05-11-2004, 04:46 PM
Hello,

Does somebody has a simple OpenAL example for FreePascal on Linux?

I tried this demo but it doesn't seem to work:
http://www.friends-of-fpc.org/tutorials/windows/dlx_openal/chapter02.html
I first translated the header to libopenal.so and I changed alcOpenDevice('DirectSound3D'); to alcOpenDevice(nil); but I don't hear anything.

I've installed libopenal0-0.0.7-2mdk.i586.rpm and libopenal0-devel-0.0.7-2mdk.i586.rpm. Do I need newer libs?

cairnswm
06-11-2004, 06:25 PM
I tried compiling the OpenAL headers I had for OpenAL using FreePascal on windows and didn't get very far so I didn;t spend any more time on it.

noeska
07-11-2004, 10:42 AM
The openal headers are working on Delphi and Kylix. Currently i am working on getting it to work with FreePascal. The most important functions i am missing for the moment are good (working) versions of loadlibrary and freelibrary functions. All seem to load right, but on calling and openal functions i get an error that is suposed to reside in a .c file. I hope to get it working today.

noeska
07-11-2004, 01:19 PM
It works...

A new kylix and fpc example is available for download with tutorial #13 on http://www.noeska.com/doal .

Bart
07-11-2004, 02:30 PM
That works, thanks.

WILL
07-11-2004, 08:16 PM
Excellent, I'll be sure to make a news post.

Will you be reworking any of your previous tutorials to be Free Pascal compatable?

noeska
07-11-2004, 09:25 PM
it is on my todo list, but a new release of 3das is planned first.