| Modifier and Type | Field and Description |
|---|---|
| private final AL | |
| pack-priv final int | |
| private ByteBuffer | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| private final boolean |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | configure(final ByteBuffer
the raw audio data data, final int the format of the data: format, final int FORMAT_MONO8, FORMAT_MONO16,
FORMAT_STEREO8 and FORMAT_STEREO16the frequency of the data freq)Configure the Sound3D buffer |
| public void | |
| public int | |
| public ByteBuffer | |
| public int | Returns: the frequency of the dataGets the audio frequency of the data contained in this buffer. |
| public int | Returns: the number of audio channels.Get the number of channels of the data (1-Mono, 2-Stereo) |
| public int | Returns: the size of the data.Gets the size (in bytes) of the raw data containe in this buffer. |
| al | back to summary |
|---|---|
| private final AL al | |
| bufferID | back to summary |
|---|---|
| pack-priv final int bufferID | |
| data | back to summary |
|---|---|
| private ByteBuffer data | |
| FORMAT_MONO16 | back to summary |
|---|---|
| public static final int FORMAT_MONO16 | |
| FORMAT_MONO8 | back to summary |
|---|---|
| public static final int FORMAT_MONO8 | |
| FORMAT_STEREO16 | back to summary |
|---|---|
| public static final int FORMAT_STEREO16 | |
| FORMAT_STEREO8 | back to summary |
|---|---|
| public static final int FORMAT_STEREO8 | |
| isConfigured | back to summary |
|---|---|
| private final boolean isConfigured | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(final AL al, final int bufferID) | |
| configure | back to summary |
|---|---|
| public void configure(final ByteBuffer data, final int format, final int freq) Configure the Sound3D buffer
| |
| delete | back to summary |
|---|---|
| public void delete() Delete this buffer, and free its resources. | |
| getBitDepth | back to summary |
|---|---|
| public int getBitDepth() Get the bit-depth of the data, (8 or 16)
| |
| getData | back to summary |
|---|---|
| public ByteBuffer getData() Gets the raw data contained in this buffer.
| |
| getFrequency | back to summary |
|---|---|
| public int getFrequency() Gets the audio frequency of the data contained in this buffer.
| |
| getNumChannels | back to summary |
|---|---|
| public int getNumChannels() Get the number of channels of the data (1-Mono, 2-Stereo)
| |
| getSize | back to summary |
|---|---|
| public int getSize() Gets the size (in bytes) of the raw data containe in this buffer.
| |