Class MediaAudioDecoder

java.lang.Object
javaforce.media.MediaCoder
javaforce.media.MediaAudioDecoder

public class MediaAudioDecoder extends MediaCoder
  • Constructor Details

    • MediaAudioDecoder

      public MediaAudioDecoder()
    • MediaAudioDecoder

      public MediaAudioDecoder(MediaInput input)
  • Method Details

    • nstart

      public long nstart(int codec_id, int new_chs, int new_freq)
    • start

      public boolean start(int codec_id, int new_chs, int new_freq)
    • nstop

      public void nstop(long ctx)
    • stop

      public void stop()
    • ndecode

      public short[] ndecode(long ctx, byte[] data, int offset, int length)
    • decode

      public short[] decode(byte[] data, int offset, int length)
    • decode

      public short[] decode(Packet packet)
    • ngetChannels

      public int ngetChannels(long ctx)
    • getChannels

      public int getChannels()
    • ngetSampleRate

      public int ngetSampleRate(long ctx)
    • getSampleRate

      public int getSampleRate()