LWJGL Forum

Programming => OpenAL => Topic started by: AngryComputerNerd on December 19, 2017, 15:13:20

Title: Using openAL as stand alone
Post by: AngryComputerNerd on December 19, 2017, 15:13:20
I'm trying use openAL as a standalone library to add audio to my game engine that is written in JavaFX. The FX audio library is very limited and doesn't handle playing more than 3 sounds at once well. Every tutorial I've come across has you create some form of a rendering window and game loop. Is it possible to use openAL solo without creating a window in lwjgl ?
Title: Re: Using openAL as stand alone
Post by: spasi on December 19, 2017, 17:28:22
Yes, it's possible, there's no dependency to a rendering context/window. See the ALCDemo (https://github.com/LWJGL/lwjgl3/blob/master/modules/core/src/test/java/org/lwjgl/demo/openal/ALCDemo.java) as an example.