|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AudioStream
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 | |
|---|---|
int |
bufferSize()
The size of the buffer that will be sent to listeners and effects. |
void |
setAudioEffect(AudioEffect effect)
Set the AudioEffect to apply to this stream. |
void |
setAudioListener(AudioListener listener)
Set the AudioListener to receive samples from this source. |
| Methods inherited from interface ddf.minim.spi.AudioResource |
|---|
close, getControls, getFormat, open |
| Method Detail |
|---|
void setAudioListener(AudioListener listener)
listener - the AudioListener to receive samplesvoid setAudioEffect(AudioEffect effect)
effect - the AudioEffect to apply to the streamint bufferSize()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||