org.mobicents.media.server.impl.dsp.audio.g711.ulaw
Class Encoder

java.lang.Object
  extended by 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

Field Summary
 
Fields inherited from interface org.mobicents.media.server.spi.dsp.Codec
G729, GSM, LINEAR_AUDIO, PCMA, PCMU, SPEEX
 
Constructor Summary
Encoder()
           
 
Method Summary
 org.mobicents.media.Format getSupportedInputFormat()
           
 org.mobicents.media.Format[] getSupportedInputFormats(org.mobicents.media.Format fmt)
           
 org.mobicents.media.Format getSupportedOutputFormat()
           
 org.mobicents.media.Format[] getSupportedOutputFormats()
           
 void process(org.mobicents.media.Buffer buffer)
          (Non Java-doc)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Encoder

public Encoder()
Method Detail

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.