#include <shine/layer3.h>
#include "libavutil/intreadwrite.h"
#include "audio_frame_queue.h"
#include "avcodec.h"
#include "internal.h"
#include "mpegaudio.h"
#include "mpegaudiodecheader.h"
Go to the source code of this file.
◆ BUFFER_SIZE
#define BUFFER_SIZE (4096 * 20) |
◆ libshine_encode_init()
◆ libshine_encode_frame()
◆ libshine_encode_close()
◆ libshine_sample_rates
const int libshine_sample_rates[] |
|
static |
Initial value:= {
44100, 48000, 32000, 0
}
Definition at line 129 of file libshine.c.
◆ ff_libshine_encoder
Initial value:= {
.name = "libshine",
0 },
.wrapper_name = "libshine",
}
static av_cold int init(AVCodecContext *avctx)
#define AV_CH_LAYOUT_STEREO
#define AV_CODEC_CAP_DELAY
Encoder or decoder requires flushing with NULL input at the end in order to give the complete and cor...
static av_cold int libshine_encode_close(AVCodecContext *avctx)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
preferred ID for decoding MPEG audio layer 1, 2 or 3
static av_cold int libshine_encode_init(AVCodecContext *avctx)
AVSampleFormat
Audio sample formats.
static const int libshine_sample_rates[]
static enum AVSampleFormat sample_fmts[]
static int libshine_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr)
#define AV_CH_LAYOUT_MONO
Definition at line 133 of file libshine.c.