2011/4/1 Kjow <[email protected]>: > 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: InitOpenAL; before everything on FormCreate. Now I'm studing the rest of tutorial... Regards, Kjow -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
