|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
An AudioStream is a stream of samples that is coming from
somewhere. Users of an AudioStream don't really need to know
where the samples are coming from. However, typically they will be read
from a Line or a file. An AudioStream needs to
be opened before being used and closed when you are finished with it.
| Method Summary | |
void |
close()
Closes the stream, you will no longer be able to get audio from it. |
javax.sound.sampled.DataLine |
getDataLine()
Returns the DataLine being used by this
AudioStream, if it exists. |
void |
open()
Opens the stream for reading. |
| Methods inherited from interface ddf.minim.Effectable |
addEffect, clearEffects, disableEffect, disableEffect, effectCount, effects, enableEffect, enableEffect, getEffect, hasEffect, isEffected, isEnabled, noEffects, removeEffect, removeEffect |
| Methods inherited from interface ddf.minim.Recordable |
addListener, bufferSize, getFormat, removeListener, sampleRate, type |
| Method Detail |
public void open()
public void close()
public javax.sound.sampled.DataLine getDataLine()
DataLine being used by this
AudioStream, if it exists.
DataLine being used by this stream,
or null if it is not using a DataLine
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||