Class G711AudioDecoder

java.lang.Object
ej.audio.decoders.G711AudioDecoder
All Implemented Interfaces:
com.microej.audiomockdecoder.AudioDecoder

public class G711AudioDecoder extends Object implements com.microej.audiomockdecoder.AudioDecoder
  • Constructor Details

    • G711AudioDecoder

      public G711AudioDecoder()
  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in interface com.microej.audiomockdecoder.AudioDecoder
    • setInputStream

      public void setInputStream(InputStream inputStream)
      Specified by:
      setInputStream in interface com.microej.audiomockdecoder.AudioDecoder
    • setParameters

      public void setParameters(int[] params)
      Specified by:
      setParameters in interface com.microej.audiomockdecoder.AudioDecoder
    • getOutputFormat

      public AudioFormat getOutputFormat()
      Specified by:
      getOutputFormat in interface com.microej.audiomockdecoder.AudioDecoder
    • setOutputFormat

      public void setOutputFormat(AudioFormat newAudioFormat)
      Specified by:
      setOutputFormat in interface com.microej.audiomockdecoder.AudioDecoder
    • getNextFrame

      public byte[] getNextFrame() throws IOException
      Specified by:
      getNextFrame in interface com.microej.audiomockdecoder.AudioDecoder
      Throws:
      IOException