#include "libavutil/audioconvert.h"
#include "libavutil/eval.h"
#include "avfilter.h"
Go to the source code of this file.
Data Structures | |
struct | VolumeContext |
Functions | |
static av_cold int | init (AVFilterContext *ctx, const char *args, void *opaque) |
static int | query_formats (AVFilterContext *ctx) |
static void | filter_samples (AVFilterLink *inlink, AVFilterBufferRef *insamples) |
Variables | |
AVFilter | avfilter_af_volume |
Definition in file af_volume.c.
static void filter_samples | ( | AVFilterLink * | inlink, | |
AVFilterBufferRef * | insamples | |||
) | [static] |
Definition at line 111 of file af_volume.c.
static av_cold int init | ( | AVFilterContext * | ctx, | |
const char * | args, | |||
void * | opaque | |||
) | [static] |
Definition at line 36 of file af_volume.c.
static int query_formats | ( | AVFilterContext * | ctx | ) | [static] |
Definition at line 80 of file af_volume.c.
Initial value:
{ .name = "volume", .description = NULL_IF_CONFIG_SMALL("Change input volume."), .query_formats = query_formats, .priv_size = sizeof(VolumeContext), .init = init, .inputs = (const AVFilterPad[]) {{ .name = "default", .type = AVMEDIA_TYPE_AUDIO, .filter_samples = filter_samples, .min_perms = AV_PERM_READ|AV_PERM_WRITE}, { .name = NULL}}, .outputs = (const AVFilterPad[]) {{ .name = "default", .type = AVMEDIA_TYPE_AUDIO, }, { .name = NULL}}, }
Definition at line 173 of file af_volume.c.