Currently supports ALC_EXT_EFX version 1.0 effects and filters.
| Modifier and Type | Field and Description |
|---|---|
| private static final int | EFFECT
Constant for testSupportGeneric to check an effect. |
| private static final int | FILTER
Constant for testSupportGeneric to check a filter. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static boolean | Returns: True if it is supported, false if not.Type of effect whose support is to be tested, e.g. AL_EFFECT_REVERB. effectType)Tests OpenAL to see whether the given effect type is supported. |
| public static boolean | Returns: True if ALC_EXT_EFX is supported, false if not.Checks if OpenAL implementation is loaded and supports ALC_EXT_EFX. |
| public static boolean | Returns: True if it is supported, false if not.Type of filter whose support is to be tested, e.g. AL_FILTER_LOWPASS. filterType)Tests OpenAL to see whether the given filter type is supported. |
| private static boolean | Returns: True if object supports typeValue, false else.Type of object to test. Must be either EFXUtil.EFFECT or EFXUtil.FILTER. objectType, final int OpenAL type the object should be tested for support, e.g. AL_FILTER_LOWPASS
or AL_EFFECT_REVERB. typeValue)Generic test function to see if an EFX object supports a given kind of type. |
| EFFECT | back to summary |
|---|---|
| private static final int EFFECT Constant for testSupportGeneric to check an effect. | |
| FILTER | back to summary |
|---|---|
| private static final int FILTER Constant for testSupportGeneric to check a filter. | |
| EFXUtil | back to summary |
|---|---|
| private EFXUtil() Utility class, hidden contructor. | |
| isEffectSupported | back to summary |
|---|---|
| public static boolean isEffectSupported(final int effectType) Tests OpenAL to see whether the given effect type is supported. This is done by creating an effect of the given type. If creation succeeds the effect is supported.
| |
| isEfxSupported | back to summary |
|---|---|
| public static boolean isEfxSupported() Checks if OpenAL implementation is loaded and supports ALC_EXT_EFX.
| |
| isFilterSupported | back to summary |
|---|---|
| public static boolean isFilterSupported(final int filterType) Tests OpenAL to see whether the given filter type is supported. This is done by creating a filter of the given type. If creation succeeds the filter is supported.
| |
| testSupportGeneric | back to summary |
|---|---|
| private static boolean testSupportGeneric(final int objectType, final int typeValue) Generic test function to see if an EFX object supports a given kind of type. Works for effects and filters.
| |