mulawenc

mulawenc — Convert 16bit PCM to 8bit mu law

Synopsis

struct              GstMuLawDec;
struct              GstMuLawEnc;

Description

This element encode mulaw audio. Mulaw coding is also known as G.711.

Synopsis

Element Information

plugin

mulaw

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-mulaw, rate=(int)[ 8000, 192000 ], channels=(int)[ 1, 2 ]

Details

struct GstMuLawDec

struct GstMuLawDec;


struct GstMuLawEnc

struct GstMuLawEnc {
  GstAudioEncoder element;

  gint channels;
  gint rate;
};