|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.lwjgl.openal.EFXUtil
public final class EFXUtil
Utility class for the OpenAL extension ALC_EXT_EFX. Provides functions to check for the extension and support of various effects and filters.
Currently supports ALC_EXT_EFX version 1.0 effects and filters.
Method Summary | |
---|---|
static boolean |
isEffectSupported(int effectType)
Tests OpenAL to see whether the given effect type is supported. |
static boolean |
isEfxSupported()
Checks if OpenAL implementation is loaded and supports ALC_EXT_EFX. |
static boolean |
isFilterSupported(int filterType)
Tests OpenAL to see whether the given filter type is supported. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static boolean isEfxSupported()
OpenALException
- If OpenAL has not been created yet.public static boolean isEffectSupported(int effectType)
effectType
- Type of effect whose support is to be tested, e.g. AL_EFFECT_REVERB.
OpenALException
- If the request fails due to an AL_OUT_OF_MEMORY error or OpenAL has
not been created yet.
java.lang.IllegalArgumentException
- effectType is not a valid effect type.public static boolean isFilterSupported(int filterType)
filterType
- Type of filter whose support is to be tested, e.g. AL_FILTER_LOWPASS.
OpenALException
- If the request fails due to an AL_OUT_OF_MEMORY error or OpenAL has
not been created yet.
java.lang.IllegalArgumentException
- filterType is not a valid filter type.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |