Top Description Fields Constructors Methods
org.lwjgl.openal

public final Class SOFTBufferLengthQuery

extends Object
Class Inheritance

Native bindings to the SOFT_buffer_length_query extension.

This extension adds buffer queries to get the length in bytes, samples, and seconds.

Standard OpenAL only has queries for a buffer's storage size, the bits per sample, channel count, and sample rate, where the application needs to calculate what it wants from those. While this works alright for standard formats and most extension formats, it won't work for certain compressed formats like ADPCM. These extra queries ensure the application can get information about the buffer it may need.

Field Summary

Modifier and TypeField and Description
public static final int
AL_BYTE_LENGTH_SOFT

Accepted by the paramName parameter of GetBufferi and GetBufferiv.

public static final int
AL_SAMPLE_LENGTH_SOFT

Accepted by the paramName parameter of GetBufferi and GetBufferiv.

public static final int
AL_SEC_LENGTH_SOFT

Accepted by the paramName parameter of GetBufferf and GetBufferfv.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

AL_BYTE_LENGTH_SOFTback to summary
public static final int AL_BYTE_LENGTH_SOFT

Accepted by the paramName parameter of GetBufferi and GetBufferiv.

AL_SAMPLE_LENGTH_SOFTback to summary
public static final int AL_SAMPLE_LENGTH_SOFT

Accepted by the paramName parameter of GetBufferi and GetBufferiv.

AL_SEC_LENGTH_SOFTback to summary
public static final int AL_SEC_LENGTH_SOFT

Accepted by the paramName parameter of GetBufferf and GetBufferfv.

Constructor Detail

SOFTBufferLengthQueryback to summary
private SOFTBufferLengthQuery()