Package org.lwjgl.openal
Class SOFTSourceResampler
java.lang.Object
org.lwjgl.openal.SOFTSourceResampler
Native bindings to the SOFT_source_resampler extension.
This extension provides a method for applications to use different resamplers for sources. OpenAL automatically resamples when playing a source at a sample rate that don't match the device's sample rate, but the resampling method is left unspecified. One could assume it would use the "best" resample method available, but this gives no clear information about what's used nor any way to choose between quality or performance. Further, some applications may prefer lower quality resamplers for its spectral properties.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
Accepted as thepname
parameter ofGetStringiSOFT
.static final int
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
alGetStringiSOFT
(int pname, int index) static long
nalGetStringiSOFT
(int pname, int index)
-
Field Details
-
AL_NUM_RESAMPLERS_SOFT
public static final int AL_NUM_RESAMPLERS_SOFT- See Also:
-
AL_DEFAULT_RESAMPLER_SOFT
public static final int AL_DEFAULT_RESAMPLER_SOFT- See Also:
-
AL_SOURCE_RESAMPLER_SOFT
public static final int AL_SOURCE_RESAMPLER_SOFT- See Also:
-
AL_RESAMPLER_NAME_SOFT
public static final int AL_RESAMPLER_NAME_SOFTAccepted as thepname
parameter ofGetStringiSOFT
.- See Also:
-
-
Method Details
-
nalGetStringiSOFT
public static long nalGetStringiSOFT(int pname, int index) -
alGetStringiSOFT
-