Top Description Fields Constructors Methods
org.lwjgl.openal

public Class SOFTSourceResampler

extends Object
Class Inheritance
Imports
javax.annotation.*, org.lwjgl.system.*

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 TypeField and Description
public static final int
AL_DEFAULT_RESAMPLER_SOFT

Accepted as the pname parameter of GetInteger and GetIntegerv.

public static final int
AL_NUM_RESAMPLERS_SOFT

Accepted as the pname parameter of GetInteger and GetIntegerv.

public static final int
AL_RESAMPLER_NAME_SOFT

Accepted as the pname parameter of GetStringiSOFT.

public static final int
AL_SOURCE_RESAMPLER_SOFT

Accepted as the param parameter of Sourcei, Sourceiv, GetSourcei, and GetSourceiv.

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static String
alGetStringiSOFT(int pname, int index)

public static long
nalGetStringiSOFT(int pname, int index)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

AL_DEFAULT_RESAMPLER_SOFTback to summary
public static final int AL_DEFAULT_RESAMPLER_SOFT

Accepted as the pname parameter of GetInteger and GetIntegerv.

AL_NUM_RESAMPLERS_SOFTback to summary
public static final int AL_NUM_RESAMPLERS_SOFT

Accepted as the pname parameter of GetInteger and GetIntegerv.

AL_RESAMPLER_NAME_SOFTback to summary
public static final int AL_RESAMPLER_NAME_SOFT

Accepted as the pname parameter of GetStringiSOFT.

AL_SOURCE_RESAMPLER_SOFTback to summary
public static final int AL_SOURCE_RESAMPLER_SOFT

Accepted as the param parameter of Sourcei, Sourceiv, GetSourcei, and GetSourceiv.

Constructor Detail

SOFTSourceResamplerback to summary
protected SOFTSourceResampler()

Method Detail

alGetStringiSOFTback to summary
public static String alGetStringiSOFT(int pname, int index)
Annotations
@Nullable
@NativeType:ALchar const *
nalGetStringiSOFTback to summary
public static long nalGetStringiSOFT(int pname, int index)