= {
.name = "libtwolame",
.type = AVMEDIA_TYPE_AUDIO,
.id = AV_CODEC_ID_MP2,
.init = twolame_encode_init,
.encode2 = twolame_encode_frame,
.close = twolame_encode_close,
.defaults = twolame_defaults,
.priv_class = &twolame_class,
AV_SAMPLE_FMT_NONE
},
.channel_layouts = (const uint64_t[]) {
AV_CH_LAYOUT_MONO,
AV_CH_LAYOUT_STEREO,
0 },
.supported_samplerates = twolame_samplerates,
.wrapper_name = "libtwolame",
}
float, planar
Definition: samplefmt.h:69
float
Definition: samplefmt.h:63
#define AV_CODEC_CAP_DELAY
Encoder or decoder requires flushing with NULL input at the end in order to give the complete and cor...
Definition: avcodec.h:984
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
Definition: libtwolame.c:36
AVSampleFormat
Audio sample formats.
Definition: samplefmt.h:58
signed 16 bits
Definition: samplefmt.h:61
signed 16 bits, planar
Definition: samplefmt.h:67