This extension provides a more flexible mechanism for loading buffer data, as well as a method to retrieve buffer data. Unextended OpenAL only provides a method to specify a single buffer format when loading data, which defines the data given by the application. The AL is given leeway in converting the data, so that it is possible or more efficient to use internally. However, there are some drawbacks to this approach:
If the application could specify the internal storage format, as well as use a separate format to specify the incoming data's format, it would allow to add more input formats (signed 8-bit, 32-bit int, and float, for example), with no undue burden placed on the implementation beyond needing some conversion routines. The application can then be assured that many different formats can be loaded, even if storage is restricted to a comparatively small subset.
In addition, unextended OpenAL does not have any methods for updating only a portion of a buffer, nor a method to retrieve the data from a buffer.
| Modifier and Type | Field and Description |
|---|---|
| public static final int | AL_5POINT1_16_SOFT
Accepted by the |
| public static final int | AL_5POINT1_32F_SOFT
Accepted by the |
| public static final int | AL_5POINT1_8_SOFT
Accepted by the |
| public static final int | AL_5POINT1_SOFT
Accepted by the |
| public static final int | AL_6POINT1_16_SOFT
Accepted by the |
| public static final int | AL_6POINT1_32F_SOFT
Accepted by the |
| public static final int | AL_6POINT1_8_SOFT
Accepted by the |
| public static final int | AL_6POINT1_SOFT
Accepted by the |
| public static final int | AL_7POINT1_16_SOFT
Accepted by the |
| public static final int | AL_7POINT1_32F_SOFT
Accepted by the |
| public static final int | AL_7POINT1_8_SOFT
Accepted by the |
| public static final int | AL_7POINT1_SOFT
Accepted by the |
| public static final int | AL_BYTE3_SOFT
Accepted by the |
| public static final int | AL_BYTE_LENGTH_SOFT
Accepted by the |
| public static final int | AL_BYTE_RW_OFFSETS_SOFT
Accepted by the |
| public static final int | AL_BYTE_SOFT
Accepted by the |
| public static final int | AL_DOUBLE_SOFT
Accepted by the |
| public static final int | AL_FLOAT_SOFT
Accepted by the |
| public static final int | AL_INT_SOFT
Accepted by the |
| public static final int | AL_INTERNAL_FORMAT_SOFT
Accepted by the |
| public static final int | AL_MONO16_SOFT
Accepted by the |
| public static final int | AL_MONO32F_SOFT
Accepted by the |
| public static final int | AL_MONO8_SOFT
Accepted by the |
| public static final int | AL_MONO_SOFT
Accepted by the |
| public static final int | AL_QUAD16_SOFT
Accepted by the |
| public static final int | AL_QUAD32F_SOFT
Accepted by the |
| public static final int | AL_QUAD8_SOFT
Accepted by the |
| public static final int | AL_QUAD_SOFT
Accepted by the |
| public static final int | AL_REAR16_SOFT
Accepted by the |
| public static final int | AL_REAR32F_SOFT
Accepted by the |
| public static final int | AL_REAR8_SOFT
Accepted by the |
| public static final int | AL_REAR_SOFT
Accepted by the |
| public static final int | AL_SAMPLE_LENGTH_SOFT
Accepted by the |
| public static final int | AL_SAMPLE_RW_OFFSETS_SOFT
Accepted by the |
| public static final int | AL_SEC_LENGTH_SOFT
Accepted by the |
| public static final int | AL_SHORT_SOFT
Accepted by the |
| public static final int | AL_STEREO16_SOFT
Accepted by the |
| public static final int | AL_STEREO32F_SOFT
Accepted by the |
| public static final int | AL_STEREO8_SOFT
Accepted by the |
| public static final int | AL_STEREO_SOFT
Accepted by the |
| public static final int | AL_UNSIGNED_BYTE3_SOFT
Accepted by the |
| public static final int | AL_UNSIGNED_BYTE_SOFT
Accepted by the |
| public static final int | AL_UNSIGNED_INT_SOFT
Accepted by the |
| public static final int | AL_UNSIGNED_SHORT_SOFT
Accepted by the |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static void | alBufferSamplesSOFT(int buffer, int samplerate, int internalformat, int samples, int channels, int type, ByteBuffer data)
|
| public static void | alBufferSamplesSOFT(int buffer, int samplerate, int internalformat, int samples, int channels, int type, ShortBuffer data)
|
| public static void | alBufferSamplesSOFT(int buffer, int samplerate, int internalformat, int samples, int channels, int type, IntBuffer data)
|
| public static void | alBufferSamplesSOFT(int buffer, int samplerate, int internalformat, int samples, int channels, int type, FloatBuffer data)
|
| public static void | alBufferSamplesSOFT(int buffer, int samplerate, int internalformat, int samples, int channels, int type, DoubleBuffer data)
|
| public static void | alBufferSamplesSOFT(int buffer, int samplerate, int internalformat, int samples, int channels, int type, short[] data)
Array version of: |
| public static void | alBufferSamplesSOFT(int buffer, int samplerate, int internalformat, int samples, int channels, int type, int[] data)
Array version of: |
| public static void | alBufferSamplesSOFT(int buffer, int samplerate, int internalformat, int samples, int channels, int type, float[] data)
Array version of: |
| public static void | alBufferSamplesSOFT(int buffer, int samplerate, int internalformat, int samples, int channels, int type, double[] data)
Array version of: |
| public static void | alBufferSubSamplesSOFT(int buffer, int offset, int samples, int channels, int type, ByteBuffer data)
|
| public static void | alBufferSubSamplesSOFT(int buffer, int offset, int samples, int channels, int type, ShortBuffer data)
|
| public static void | |
| public static void | alBufferSubSamplesSOFT(int buffer, int offset, int samples, int channels, int type, FloatBuffer data)
|
| public static void | alBufferSubSamplesSOFT(int buffer, int offset, int samples, int channels, int type, DoubleBuffer data)
|
| public static void | alBufferSubSamplesSOFT(int buffer, int offset, int samples, int channels, int type, short[] data)
Array version of: |
| public static void | alBufferSubSamplesSOFT(int buffer, int offset, int samples, int channels, int type, int[] data)
Array version of: |
| public static void | alBufferSubSamplesSOFT(int buffer, int offset, int samples, int channels, int type, float[] data)
Array version of: |
| public static void | alBufferSubSamplesSOFT(int buffer, int offset, int samples, int channels, int type, double[] data)
Array version of: |
| public static void | alGetBufferSamplesSOFT(int buffer, int offset, int samples, int channels, int type, ByteBuffer data)
|
| public static void | alGetBufferSamplesSOFT(int buffer, int offset, int samples, int channels, int type, ShortBuffer data)
|
| public static void | |
| public static void | alGetBufferSamplesSOFT(int buffer, int offset, int samples, int channels, int type, FloatBuffer data)
|
| public static void | alGetBufferSamplesSOFT(int buffer, int offset, int samples, int channels, int type, DoubleBuffer data)
|
| public static void | alGetBufferSamplesSOFT(int buffer, int offset, int samples, int channels, int type, short[] data)
Array version of: |
| public static void | alGetBufferSamplesSOFT(int buffer, int offset, int samples, int channels, int type, int[] data)
Array version of: |
| public static void | alGetBufferSamplesSOFT(int buffer, int offset, int samples, int channels, int type, float[] data)
Array version of: |
| public static void | alGetBufferSamplesSOFT(int buffer, int offset, int samples, int channels, int type, double[] data)
Array version of: |
| public static boolean | |
| public static void | nalBufferSamplesSOFT(int buffer, int samplerate, int internalformat, int samples, int channels, int type, long data)
Unsafe version of: |
| public static void | nalBufferSubSamplesSOFT(int buffer, int offset, int samples, int channels, int type, long data)
Unsafe version of: |
| public static void | nalGetBufferSamplesSOFT(int buffer, int offset, int samples, int channels, int type, long data)
Unsafe version of: |