alawenc

alawenc — Convert 16bit PCM to 8bit A law

Synopsis

struct              GstALawDec;
struct              GstALawEnc;

Description

This element encode alaw audio. Alaw coding is also known as G.711.

Synopsis

Element Information

plugin

alaw

author

Zaheer Abbas Merali <zaheerabbas at merali dot org>

class

Codec/Encoder/Audio

Element Pads

name

sink

direction

sink

presence

always

details

audio/x-raw, format=(string)S16LE, layout=(string)interleaved, rate=(int)[ 8000, 192000 ], channels=(int)[ 1, 2 ]

name

src

direction

source

presence

always

details

audio/x-alaw, rate=(int)[ 8000, 192000 ], channels=(int)[ 1, 2 ]

Details

struct GstALawDec

struct GstALawDec;


struct GstALawEnc

struct GstALawEnc {
  GstElement element;

  GstPad *sinkpad,*srcpad;

  gint channels;
  gint rate;
};