|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.threerings.openal.Clip
public class Clip
Contains data for a single sampled sound.
| Field Summary | |
|---|---|
ByteBuffer |
data
The audio data. |
int |
format
The OpenAL format of this clip: AL10.AL_FORMAT_MONO8, etc. |
int |
frequency
The frequency of this clip in samples per second. |
| Constructor Summary | |
|---|---|
Clip()
|
|
Clip(org.lwjgl.util.WaveData data)
Fills in a clip from the given wave data. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public int format
AL10.AL_FORMAT_MONO8, etc.
public int frequency
public ByteBuffer data
| Constructor Detail |
|---|
public Clip()
public Clip(org.lwjgl.util.WaveData data)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||