| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static final String | alChannelLayoutName(final int alChannelLayout)
Returns the readable name of the given AL channel layout |
| public static final String | |
| public static final int | |
| public static final int | Returns: AL buffer formatAL channel layout, see alChannelLayout, final int getDefaultALChannelLayout(int)AL sample type, see alSampleType, final boolean getALSampleType(int, boolean, boolean).true if having extension hasSOFTBufferSamples, final AL AL_SOFT_buffer_samples, otherwise falseAL instance al, final ALExt ALExt instance alExt)Returns a compatible AL buffer format given the AL channel layout and AL sample type. |
| public static final int | getALSampleType(final int
sample size in bits sampleSize, final boolean true if signed number, false for unsigned signed, final boolean true for fixed point value, false for floating point value with a sampleSize of 32 (float) or 64 (double) fixedP)Returns the AL sample type matching the given audio type attributes, or |
| public static final int | getDefaultALChannelLayout(final int
number of channels channelCount)Returns the default AL channel layout matching the given channel count, or |
| public static final int | Returns: bytes count requirednumber of samples per channel sampleCount, final int AL channel layout alChannelLayout, final int AL sample type alSampleType)
|
| public static final int |
| ALHelpers | back to summary |
|---|---|
| public ALHelpers() | |
| alChannelLayoutName | back to summary |
|---|---|
| public static final String alChannelLayoutName(final int alChannelLayout) Returns the readable name of the given AL channel layout | |
| alSampleTypeName | back to summary |
|---|---|
| public static final String alSampleTypeName(final int alSampleType) Returns the readable name of the given AL sample type | |
| bytesToSampleCount | back to summary |
|---|---|
| public static final int bytesToSampleCount(final int byteCount, final int alChannelLayout, final int alSampleType) | |
| getALFormat | back to summary |
|---|---|
| public static final int getALFormat(final int alChannelLayout, final int alSampleType, final boolean hasSOFTBufferSamples, final AL al, final ALExt alExt) Returns a compatible AL buffer format given the AL channel layout and
AL sample type. If
Returns
| |
| getALSampleType | back to summary |
|---|---|
| public static final int getALSampleType(final int sampleSize, final boolean signed, final boolean fixedP) Returns the AL sample type matching the given audio type attributes, or
| |
| getDefaultALChannelLayout | back to summary |
|---|---|
| public static final int getDefaultALChannelLayout(final int channelCount) Returns the default AL channel layout matching the given channel count, or
| |
| samplesToByteCount | back to summary |
|---|---|
public static final int samplesToByteCount(int sampleCount, final int alChannelLayout, final int alSampleType) throws IllegalArgumentException
| |
| sizeOfALSampleType | back to summary |
|---|---|
| public static final int sizeOfALSampleType(final int alSampleType) throws IllegalArgumentException Returns the byte size of the given AL sample type
| |