summaryrefslogtreecommitdiff
path: root/libavfilter/af_volume.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2014-02-19 21:01:37 +0100
committerAnton Khirnov <anton@khirnov.net>2014-03-24 06:07:51 +0100
commit06c3cd3c0186803619bc6aad2d8f06c3e9015d15 (patch)
treefc38b79c18a9f70376edd015e6d85af354f1e83a /libavfilter/af_volume.h
parentd161ae0a37900cbd36c1390ca32a56b892c02ab5 (diff)
af_volume: support using replaygain frame side data
Diffstat (limited to 'libavfilter/af_volume.h')
-rw-r--r--libavfilter/af_volume.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libavfilter/af_volume.h b/libavfilter/af_volume.h
index a1883ed2b9..ec13e80ae3 100644
--- a/libavfilter/af_volume.h
+++ b/libavfilter/af_volume.h
@@ -35,10 +35,18 @@ enum PrecisionType {
PRECISION_DOUBLE,
};
+enum ReplayGainType {
+ REPLAYGAIN_DROP,
+ REPLAYGAIN_IGNORE,
+ REPLAYGAIN_TRACK,
+ REPLAYGAIN_ALBUM,
+};
+
typedef struct VolumeContext {
const AVClass *class;
AVFloatDSPContext fdsp;
enum PrecisionType precision;
+ enum ReplayGainType replaygain;
double volume;
int volume_i;
int channels;