[Lazarus] OpenAL

Kjow antispammoni at gmail.com
Fri Apr 1 14:44:49 CEST 2011

2011/4/1 Kjow <antispammoni at gmail.com>:
> Hi all,
> I need to add 3D sound to my app, but I can't find any free-working
> solution for a commercial, cross platform, project (FMOD or BASS
> should work, but they costs, and I can't affort this for now).
> So, I was looking for OpenAL, (here:
> http://wiki.freepascal.org/Multimedia_Programming#Using_the_OpenAL_Library),
> but following delphi instructions (here:
> http://www.noeska.com/doal/tutorials.aspx ) I get access violation
> (SIGSEGV error on:
> openal.pas
> row 2187: Device := alcOpenDevice(nil); // this is supposed to select
> the "preferred device". )
> Can you help me to find a solution?
> Thank you in advance,
> Kjow

It seems that I was simply missing to initialize OpenAL with:


before everything on FormCreate.

Now I'm studing the rest of tutorial...


More information about the Lazarus mailing list