summaryrefslogtreecommitdiff
path: root/libavfilter/af_volume.h
diff options
context:
space:
mode:
authorAlessandro Ghedini <alessandro@ghedini.me>2014-04-04 18:42:09 +0200
committerAnton Khirnov <anton@khirnov.net>2014-04-04 18:53:05 +0200
commita49aa440c939e221194f8d95bf98673f8cf38a06 (patch)
treec643b5b59ea2486d8a01b640ad00227d72bf3c21 /libavfilter/af_volume.h
parentc74b86699c86bdf62e8570f41d8a38be5710baa3 (diff)
af_volume: implement replaygain pre-amplification
This adds a new "replaygain_preamp" option to the filter, and simply adds its value to the replaygain gain value. Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavfilter/af_volume.h')
-rw-r--r--libavfilter/af_volume.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/af_volume.h b/libavfilter/af_volume.h
index ec13e80ae3..d831ec4a3d 100644
--- a/libavfilter/af_volume.h
+++ b/libavfilter/af_volume.h
@@ -47,6 +47,7 @@ typedef struct VolumeContext {
AVFloatDSPContext fdsp;
enum PrecisionType precision;
enum ReplayGainType replaygain;
+ double replaygain_preamp;
double volume;
int volume_i;
int channels;