mulawenc
mulawenc — Convert 16bit PCM to 8bit mu law
|
|
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-int, rate=(int)[ 8000, 192000 ], channels=(int)[ 1, 2 ], endianness=(int)1234, width=(int)16, depth=(int)16, signed=(boolean)true |
| name |
src |
| direction |
source |
| presence |
always |
| details |
audio/x-mulaw, rate=(int)[ 8000, 192000 ], channels=(int)[ 1, 2 ] |
Details
GstMuLawDec
typedef struct _GstMuLawDec GstMuLawDec;
GstMuLawEnc
typedef struct {
GstElement element;
GstPad *sinkpad,*srcpad;
gint channels;
gint rate;
} GstMuLawEnc;