org.mobicents.media.server.impl.dsp.audio.g711.ulaw
Class Encoder
java.lang.Object
org.mobicents.media.server.impl.dsp.audio.g711.ulaw.Encoder
- All Implemented Interfaces:
- java.io.Serializable, org.mobicents.media.server.spi.dsp.Codec
public class Encoder
- extends java.lang.Object
- implements org.mobicents.media.server.spi.dsp.Codec
Implements G.711 U-law compressor.
- Author:
- Oleg Kulikov
- See Also:
- Serialized Form
| Fields inherited from interface org.mobicents.media.server.spi.dsp.Codec |
G729, GSM, LINEAR_AUDIO, PCMA, PCMU, SPEEX |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Encoder
public Encoder()
getSupportedInputFormat
public org.mobicents.media.Format getSupportedInputFormat()
- Specified by:
getSupportedInputFormat in interface org.mobicents.media.server.spi.dsp.Codec
getSupportedOutputFormat
public org.mobicents.media.Format getSupportedOutputFormat()
- Specified by:
getSupportedOutputFormat in interface org.mobicents.media.server.spi.dsp.Codec
getSupportedInputFormats
public org.mobicents.media.Format[] getSupportedInputFormats(org.mobicents.media.Format fmt)
getSupportedOutputFormats
public org.mobicents.media.Format[] getSupportedOutputFormats()
process
public void process(org.mobicents.media.Buffer buffer)
- (Non Java-doc)
- Specified by:
process in interface org.mobicents.media.server.spi.dsp.Codec
- See Also:
org.mobicents.media.server.impl.jmf.dsp.Codec#process(Buffer).
Copyright © 2010. All Rights Reserved.