35 .supported_samplerates = (
const int[]){
36 44100, 48000, 32000, 22050, 24000, 16000, 0
static av_cold int init(AVCodecContext *avctx)
The simplest mpeg audio layer 2 encoder.
#define AV_CH_LAYOUT_STEREO
static int MPA_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr)
static const AVCodecDefault mp2_defaults[]
static av_cold int MPA_encode_init(AVCodecContext *avctx)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
const char * name
Name of the codec implementation.
AVSampleFormat
Audio sample formats.
static enum AVSampleFormat sample_fmts[]
#define AV_CH_LAYOUT_MONO