|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AudioRecordingStream
Method Summary | |
---|---|
int |
getLoopCount()
How many loops are left to go. |
AudioMetaData |
getMetaData()
Returns meta data about the recording, such as duration, name, ID3 tags perhaps. |
int |
getMillisecondLength()
Returns the length of the source in milliseconds. |
int |
getMillisecondPosition()
Gets the current millisecond position of the source. |
boolean |
isPlaying()
|
void |
loop(int count)
Starts looping playback from the current position. |
void |
pause()
Disallows playback/reads of the source. |
void |
play()
Allows playback/reads of the source. |
void |
setLoopPoints(int start,
int stop)
Sets the loops points in the source, in milliseconds |
void |
setMillisecondPosition(int pos)
Sets the current millisecond position of the source. |
Methods inherited from interface ddf.minim.spi.AudioStream |
---|
read, read |
Methods inherited from interface ddf.minim.spi.AudioResource |
---|
close, getControls, getFormat, open |
Method Detail |
---|
void play()
void pause()
boolean isPlaying()
void loop(int count)
count
- the number of times playback should loop back from the loop's
end position to the loop's start position, or
Minim.LOOP_CONTINUOUSLY to indicate that looping should continue
until interruptedvoid setLoopPoints(int start, int stop)
start
- the position of the beginning of the loopstop
- the position of the end of the loopint getLoopCount()
int getMillisecondPosition()
void setMillisecondPosition(int pos)
pos
- the posititon to cue the playback head toint getMillisecondLength()
AudioMetaData getMetaData()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |