Class SOFTSourceResampler

java.lang.Object
org.lwjgl.openal.SOFTSourceResampler

public class SOFTSourceResampler extends Object
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 Details

  • Method Details

    • nalGetStringiSOFT

      public static long nalGetStringiSOFT(int pname, int index)
    • alGetStringiSOFT

      public static @Nullable String alGetStringiSOFT(int pname, int index)
    • nalGetStringiDirectSOFT

      public static long nalGetStringiDirectSOFT(long context, int pname, int index)
    • alGetStringiDirectSOFT

      public static @Nullable String alGetStringiDirectSOFT(long context, int pname, int index)