Class DePacketizer
- java.lang.Object
-
- net.sf.fmj.media.BasicPlugIn
-
- net.sf.fmj.media.BasicCodec
-
- net.sf.fmj.media.codec.audio.AudioCodec
-
- com.sun.media.codec.audio.AudioCodec
-
- org.jitsi.impl.neomedia.codec.audio.alaw.DePacketizer
-
- All Implemented Interfaces:
javax.media.Codec,javax.media.Controls,javax.media.PlugIn
public class DePacketizer extends com.sun.media.codec.audio.AudioCodecDePacketizer for ALAW codec- Author:
- Damian Minkov
-
-
Constructor Summary
Constructors Constructor Description DePacketizer()Creates DePacketizer
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Clean upStringgetName()Returns the name of the DePacketizerjavax.media.Format[]getSupportedOutputFormats(javax.media.Format in)Returns the supported output formatsvoidopen()Initializes the codec.intprocess(javax.media.Buffer inputBuffer, javax.media.Buffer outputBuffer)decode the buffer-
Methods inherited from class net.sf.fmj.media.codec.audio.AudioCodec
checkFormat, setInputFormat, setOutputFormat
-
Methods inherited from class net.sf.fmj.media.BasicCodec
checkEOM, checkInputBuffer, getArrayElementSize, getInputFormat, getOutputFormat, getSupportedInputFormats, isEOM, processAtEOM, propagateEOM, reset, updateOutput, updateRGBFormat
-
Methods inherited from class net.sf.fmj.media.BasicPlugIn
error, getClassForName, getControl, getControls, getInputData, getNativeData, getOutputData, matches, plugInExists, validateByteArraySize, validateData, validateIntArraySize, validateShortArraySize
-
-
-
-
Method Detail
-
getName
public String getName()
Returns the name of the DePacketizer- Returns:
- String
-
getSupportedOutputFormats
public javax.media.Format[] getSupportedOutputFormats(javax.media.Format in)
Returns the supported output formats- Parameters:
in- Format- Returns:
- Format[]
-
open
public void open()
Initializes the codec.- Specified by:
openin interfacejavax.media.PlugIn- Overrides:
openin classnet.sf.fmj.media.BasicCodec
-
close
public void close()
Clean up- Specified by:
closein interfacejavax.media.PlugIn- Overrides:
closein classnet.sf.fmj.media.BasicCodec
-
process
public int process(javax.media.Buffer inputBuffer, javax.media.Buffer outputBuffer)decode the buffer- Parameters:
inputBuffer- BufferoutputBuffer- Buffer- Returns:
- int
-
-