[Openal] Using Effects and Filters from JOAL?
(Method "alGenFilters" not available)
Jean-Michel TRIVI
jmt at atc.creative.com
Tue Apr 3 18:21:14 PDT 2007
Fredrik,
> Unfortunately I'm still pretty confused here. Does JOAL support EFX or
not?
I am trying to figure that out too! ;-) Let's try to find out together, so
first: we might not looking at the same code, because on the sun
repository (https://joal.dev.java.net/), I don't see the files with the
alGenFilters, alFilter* and alEffect* methods. Or I simply missed it.
Can you point me to the corresponding java file in
https://joal.dev.java.net/source/browse/joal/src/java/net/java/games/joal/
?
Thanks,
Jean-Michel.
Notice
The information in this message is confidential and may be legally
privileged. It is intended solely for the addressee. Access to this
message by anyone else is unauthorized. If you are not the intended
recipient, any disclosure, copying or distribution of the message, or
any action taken by you in reliance on it, is prohibited and may be
unlawful. If you have received this message in error, please delete it
and contact the sender immediately. Thank you.
bridell
<fredrik at bridell.
com> To
Sent by: openal at opensource.creative.com
openal-bounces at op cc
ensource.creative
.com Subject
Re: [Openal] Using Effects and
Filters from JOAL? (Method
04/02/2007 03:39 "alGenFilters" not available)
AM
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: Re: Using Effects and Filters from JOAL?
(Method "alGenFilters" not available)
Sent from the OpenAL - User mailing list archive at Nabble.com.
_______________________________________________
Openal mailing list
Openal at opensource.creative.com
http://opensource.creative.com/mailman/listinfo/openal
ForwardSourceID:NT00018E0E
More information about the Openal
mailing list