public class JavaDecoder extends AbstractCodec2
Codec
.BUFFER_FLAG_FEC, BUFFER_FLAG_PLC, EMPTY_FORMATS, features, MAX_AUDIO_SEQUENCE_NUMBERS_TO_PLC, SEQUENCE_MAX, SEQUENCE_MIN
Constructor and Description |
---|
JavaDecoder()
Initializes a new iLBC JavaDecoder instance.
|
Modifier and Type | Method and Description |
---|---|
protected void |
doClose()
Implements
AbstractCodecExt#doClose() . |
protected void |
doOpen()
Implements
AbstractCodecExt#doOpen() . |
protected int |
doProcess(javax.media.Buffer inputBuffer,
javax.media.Buffer outputBuffer)
Implements
AbstractCodecExt#doProcess(Buffer, Buffer) . |
protected javax.media.Format[] |
getMatchingOutputFormats(javax.media.Format inputFormat)
Gets the Formats which are supported by this Codec as
output when the input is in a specific Format.
|
calculateLostSeqNoCount, close, discardOutputBuffer, getName, getSupportedOutputFormats, incrementSeqNo, matches, open, process, setInputFormat, setOutputFormat, specialize, updateOutput, validateByteArraySize, validateShortArraySize
checkInputBuffer, dump, getInputFormat, getOutputFormat, getSupportedInputFormats, isEOM, propagateEOM
addControl, getControl, getControls, removeControl
protected void doClose()
AbstractCodecExt#doClose()
.doClose
in class AbstractCodec2
AbstractCodecExt#doClose()
protected void doOpen()
AbstractCodecExt#doOpen()
.doOpen
in class AbstractCodec2
AbstractCodecExt#doOpen()
protected int doProcess(javax.media.Buffer inputBuffer, javax.media.Buffer outputBuffer)
AbstractCodecExt#doProcess(Buffer, Buffer)
.doProcess
in class AbstractCodec2
inputBuffer
- outputBuffer
- AbstractCodecExt#doProcess(Buffer, Buffer)
protected javax.media.Format[] getMatchingOutputFormats(javax.media.Format inputFormat)
AbstractCodec2
getMatchingOutputFormats
in class AbstractCodec2
inputFormat
- the Format of the input for which the
supported output Formats are to be returned
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.