35 #define OFFSET(x) offsetof(AVAudioResampleContext, x)
36 #define PARAM AV_OPT_FLAG_AUDIO_PARAM
39 {
"in_channel_layout",
"Input Channel Layout",
OFFSET(in_channel_layout),
AV_OPT_TYPE_INT64, { .i64 = 0 }, INT64_MIN, INT64_MAX,
PARAM },
42 {
"out_channel_layout",
"Output Channel Layout",
OFFSET(out_channel_layout),
AV_OPT_TYPE_INT64, { .i64 = 0 }, INT64_MIN, INT64_MAX,
PARAM },
Number of sample formats. DO NOT USE if linking dynamically.
#define LIBAVUTIL_VERSION_INT
Memory handling functions.
void av_opt_set_defaults(void *s)
Set the values of all AVOption fields to their default values.
void * av_mallocz(size_t size)
Allocate a memory block with alignment suitable for all memory accesses (including vectors if availab...
Triangular Dither with Noise Shaping.
const AVClass * avresample_get_class(void)
Get the AVClass for AVAudioResampleContext.
Triangular Dither with High Pass.
const char * class_name
The name of the class; usually it is the same name as the context structure type to which the AVClass...
const AVClass * av_class
AVClass for logging and AVOptions.
static const AVOption avresample_options[]
Describe the class of an AVClass context structure.
Blackman Nuttall Windowed Sinc.
AVAudioResampleContext * avresample_alloc_context(void)
Allocate AVAudioResampleContext and set options.
static const AVClass av_resample_context_class