| FFmpeg
    | 
#include "libavutil/audio_fifo.h"#include "libavutil/avassert.h"#include "libavutil/channel_layout.h"#include "libavutil/opt.h"#include "avfilter.h"#include "audio.h"#include "filters.h"#include "formats.h"#include "hermite.h"Go to the source code of this file.
| Data Structures | |
| struct | AudioGateContext | 
| Macros | |
| #define | OFFSET(x) offsetof(AudioGateContext, x) | 
| #define | A AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_FILTERING_PARAM | 
| #define | FAKE_INFINITY (65536.0 * 65536.0) | 
| #define | IS_FAKE_INFINITY(value) (fabs(value-FAKE_INFINITY) < 1.0) | 
| Functions | |
| static int | agate_config_input (AVFilterLink *inlink) | 
| static double | output_gain (double lin_slope, double ratio, double thres, double knee, double knee_start, double knee_stop, double range, int mode) | 
| static void | gate (AudioGateContext *s, const double *src, double *dst, const double *scsrc, int nb_samples, double level_in, double level_sc, AVFilterLink *inlink, AVFilterLink *sclink) | 
| Variables | |
| static const AVOption | options [] | 
Audio (Sidechain) Gate filter
Definition in file af_agate.c.
| #define OFFSET | ( | x | ) | offsetof(AudioGateContext, x) | 
Definition at line 65 of file af_agate.c.
Definition at line 66 of file af_agate.c.
| #define FAKE_INFINITY (65536.0 * 65536.0) | 
Definition at line 112 of file af_agate.c.
| #define IS_FAKE_INFINITY | ( | value | ) | (fabs(value-FAKE_INFINITY) < 1.0) | 
Definition at line 115 of file af_agate.c.
| 
 | static | 
Definition at line 90 of file af_agate.c.
| 
 | static | 
Definition at line 117 of file af_agate.c.
Referenced by gate().
| 
 | static | 
Definition at line 141 of file af_agate.c.
| 
 | static | 
Definition at line 68 of file af_agate.c.
 1.8.17
 1.8.17