amrnbdec

amrnbdec — Adaptive Multi-Rate Narrow-Band audio decoder

Synopsis

                    GstAmrnbDec;

Properties

  "variant"                  GstAmrnbVariant       : Read / Write / Construct

Description

AMR narrowband decoder based on the opencore codec implementation.

Example launch line

gst-launch filesrc location=abc.amr ! amrparse ! amrnbdec ! audioresample ! audioconvert ! alsasink

Details

GstAmrnbDec

typedef struct {
  GstElement element;

  /* pads */
  GstPad *sinkpad, *srcpad;
  guint64 ts;

  GstAmrnbVariant variant;

  GstAdapter *adapter;

  /* library handle */
  void *handle;

  /* output settings */
  gint channels, rate;
  gint duration;

  GstSegment        segment;
  gboolean          discont;
} GstAmrnbDec;

Property Details

The "variant" property

  "variant"                  GstAmrnbVariant       : Read / Write / Construct

The decoder variant.

Default value: IF1

See Also

GstAmrnbEnc, GstAmrParse