|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LAMEOnJStdDecoder
The LAMEOnJStdDecoder
is the starting interface of the LAMEOnJ
decoder using an object oriented fashion to work with the LAME reflected
C methods using the LAME standard API.
LAME decoder API only supports one decoding task open. Do not forget
calling Decoder.close()
before trying to create a new decoding task.
LAMEOnJ.getLAMEOnJStdDecoder()
Method Summary | |
---|---|
GenericDecoder |
createGenericDecoder()
Creates a new generic MP3 stream decoder. |
StreamDecoder |
createStreamDecoder(java.io.InputStream stream)
Creates a new MP3 stream decoder using the specified MP3 stream as audio source. |
StreamDecoder |
createStreamDecoder(java.lang.String file)
Creates a new MP3 stream decoder using the specified MP3 file as audio source. |
boolean |
isDecoderBlocked()
Informs whether there is an unfinished decoding task. |
Method Detail |
---|
StreamDecoder createStreamDecoder(java.lang.String file)
file
- the path of the MP3 audio source.
StreamDecoder createStreamDecoder(java.io.InputStream stream)
Initial data of the stream must contain the MP3 header.
stream
- the stream of the MP3 audio source.
GenericDecoder createGenericDecoder()
boolean isDecoderBlocked()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |