|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.lang.Thread
ddf.minim.LineWriter
LineWriter collects samples from all of its listeners and sends them to a SourceDataLine for playback. You will never need to use this class.
| Field Summary |
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
LineWriter(javax.sound.sampled.SourceDataLine sdl,
LineWriterListener writeListener,
int bufferSize)
Constructs a LineWriter that will write samples provided by writeListener,
to sdl, using a sample buffer with the requested size. |
|
| Method Summary | |
void |
finish()
|
void |
run()
Runs the LineWriter in its own Thread. |
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public LineWriter(javax.sound.sampled.SourceDataLine sdl,
LineWriterListener writeListener,
int bufferSize)
writeListener,
to sdl, using a sample buffer with the requested size.
sdl - the SourceDataLine to write towriteListener - the LineWriterListener that will provide the samplesbufferSize - the size of the buffer to use| Method Detail |
public void finish()
public void run()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||