LWJGL Forum

Programming => OpenAL => Topic started by: Diggi on November 23, 2005, 20:55:00

Title: up to 6 speakers?
Post by: Diggi on November 23, 2005, 20:55:00
Hi,
how many speakers are supported in lwjgl? 6?
Is it possible to tell the speakers exactly what they should play?
Per example:
RearLeft.play("Song1.wav");
Diggi
Title: up to 6 speakers?
Post by: tomb on November 24, 2005, 01:27:16
LWJGL has a OpenAL binding so any info on OpenAL will apply. The first place to look for information will be www.openal.org. There you can find some documentation.

As for your question, OpenAL only allows mono or stereo by default. There seems to be an extension called LOKI_quadriphonic that allows 4 speaker output. But I'm not sure if it's supported or how it works.

Also, I'm guessing that 3d sounds can be rendered to all available speakers, but again, I'm not sure it does. Only got stereo here, so I can't test.