public interface AudioRecording extends AudioResource, AudioStream
Modifier and Type | Method and Description |
---|---|
int |
getLoopCount()
Deprecated.
How many loops are left to go.
|
AudioMetaData |
getMetaData()
Deprecated.
Returns meta data about the recording, such as duration, name, ID3 tags
perhaps.
|
int |
getMillisecondLength()
Deprecated.
Returns the length of the source in milliseconds.
|
int |
getMillisecondPosition()
Deprecated.
Gets the current millisecond position of the source.
|
boolean |
isPlaying()
Deprecated.
|
void |
loop(int count)
Deprecated.
Starts looping playback from the current position.
|
void |
pause()
Deprecated.
Disallows playback/reads of the source.
|
void |
play()
Deprecated.
Allows playback/reads of the source.
|
void |
setLoopPoints(int start,
int stop)
Deprecated.
Sets the loops points in the source, in milliseconds
|
void |
setMillisecondPosition(int pos)
Deprecated.
Sets the current millisecond position of the source.
|
read, read
close, getControls, getFormat, open
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()