|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.brackeen.javagamebook.sound.SoundManager.SoundPlayer
protected class SoundManager.SoundPlayer
The SoundPlayer class is a task for the PooledThreads to run. It receives the threads's Line and byte buffer from the ThreadLocal variables and plays a sound from an InputStream.
This class only works when called from a PooledThread.
| Field Summary | |
|---|---|
private java.io.InputStream |
source
|
| Constructor Summary | |
|---|---|
SoundManager.SoundPlayer(java.io.InputStream source)
|
|
| Method Summary | |
|---|---|
void |
run()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private java.io.InputStream source
| Constructor Detail |
|---|
public SoundManager.SoundPlayer(java.io.InputStream source)
| Method Detail |
|---|
public void run()
run in interface java.lang.Runnable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||