#include "libavutil/audioconvert.h"
#include "libavutil/eval.h"
#include "audio.h"
#include "avfilter.h"
#include "formats.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 113 of file af_volume.c.
static av_cold int init | ( | AVFilterContext * | ctx, | |
const char * | args, | |||
void * | opaque | |||
) | [static] |
Definition at line 38 of file af_volume.c.
static int query_formats | ( | AVFilterContext * | ctx | ) | [static] |
Definition at line 82 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 175 of file af_volume.c.