public final class EFXUtil
extends java.lang.Object
Currently supports ALC_EXT_EFX version 1.0 effects and filters.
Modifier and Type | Method and Description |
---|---|
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.
|
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.Copyright © 2002-2009 lwjgl.org. All Rights Reserved.