[Openal] Using Effects and Filters from JOAL? (Method
"alGenFilters" not available)
bridell
fredrik at bridell.com
Mon Apr 2 03:39:35 PDT 2007
Thank you, Jean-Michel (you even spelled my name right!)
Unfortunately I'm still pretty confused here. Does JOAL support EFX or not?
(I'm assuming here the EFX and "Effects Extension" are the same thing.)
The alGenEffects, alGenFilters, alFilter* and alEffect* methods in the
net.java.games.joal.AL interface - are they just placeholders for future
implementation?
The "Effects Extension Guide" documentation that comes with the OpenAL
SDK1.1 shows how these are used. There is one thing I really can't do from
JOAL (or generally, from Java), and that is getting the function pointers
for these methods.
The Effects Extension Docs has an C language example, thus:
alGenEffects=(LPALGENEFFECTS) alGetProcAddress("alGenEffects");
alDeleteEffects=(LPALDELETEEFFECTS) alGetProcAddress("alDeleteEffects");
alIsEffect=(LPALISEFFECT) alGetProcAddress("alIsEffect");
My hunch is that the reason JOAL fails to deliver Effects and Filters has to
do with these function pointers, or lack thereof, but I haven't yet mustered
the strength to do any in-depth investigation of the JOAL implementation. By
the way, where IS it? The source that comes with JOAL does not include the
relevant classes, like the actual implementation of the interfaces (ALImpl
etc). Is JOAL only partly open source?
There's something else that's really fishy about the JOAL distro. There is,
in fact, an EAX package (net.java.games.joal.eax) but it's not documented in
the javadoc. Again, just from a quick inspection my feeling is that the only
thing I'll be able to do with this is setting options to simulate room
types, and some sort of sound occlusion. (Well, this is advanced enough, but
largely unhelpful to me.)
To have a look at the EAX documentation I have to sign up as a OpenAL
Developer at Creative, which (a) seems overkill and (b) seems outright scary
(the part where I need to agree that if I let any sort of information
whatsoever slip, "monetary damages will be inadequate to compensate Creative
for any such breach". What else can I offer - my soul? :)
Regards,
Fredrik Bridell
--
View this message in context: http://www.nabble.com/Using-Effects-and-Filters-from-JOAL--%28Method-%22alGenFilters%22-not-available%29-tf3466790.html#a9788232
Sent from the OpenAL - User mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://opensource.creative.com/pipermail/openal/attachments/20070402/7c926d9c/attachment.html
More information about the Openal
mailing list