|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xith3d.loaders.sound.impl.midi.MidiSoundContainer
public class MidiSoundContainer
SoundContainer implementation for Wave sounds.
| Method Summary | |
|---|---|
protected void |
finalize()
|
SoundBuffer |
getData(SoundDriver driver)
Gets a buffer to be played. |
long |
getDuration()
|
boolean |
isStreaming()
|
void |
returnData(SoundDriver driver,
SoundBuffer buffer)
Called by the sound system to indicate that it has finished playing the buffer. |
void |
rewind(SoundDriver driver)
Generally only valid for streaming sound containers. |
void |
setEnabled(boolean enabled)
|
void |
setPaused(boolean paused)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void setEnabled(boolean enabled)
setEnabled in interface SingletonSoundContainerpublic void setPaused(boolean paused)
setPaused in interface SingletonSoundContainerpublic long getDuration()
getDuration in interface SingletonSoundContainerprotected void finalize()
finalize in class java.lang.Objectpublic boolean isStreaming()
isStreaming in interface SoundContainerpublic SoundBuffer getData(SoundDriver driver)
getData in interface SoundContainer
public void returnData(SoundDriver driver,
SoundBuffer buffer)
returnData in interface SoundContainerpublic void rewind(SoundDriver driver)
rewind in interface SoundContainer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||