summaryrefslogtreecommitdiff
path: root/libavfilter/af_volume.h
diff options
context:
space:
mode:
authorAlessandro Ghedini <alessandro@ghedini.me>2014-04-06 16:25:08 +0200
committerAnton Khirnov <anton@khirnov.net>2014-04-13 11:25:06 +0200
commitaaab192df24a90f4450285cfb73b395cf495b462 (patch)
treedfc16fafb9c61083be568afd6b7e99f21dd37a20 /libavfilter/af_volume.h
parentac976ed91e323754e9a84509873ebdb437372797 (diff)
af_volume: implement replaygain clipping prevention
This adds a new "replaygain_noclip" option to the filter, and, if enabled, limits the gain applied for tracks where clipping would occur. 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 d831ec4a3d..6bd89acc4d 100644
--- a/libavfilter/af_volume.h
+++ b/libavfilter/af_volume.h
@@ -48,6 +48,7 @@ typedef struct VolumeContext {
enum PrecisionType precision;
enum ReplayGainType replaygain;
double replaygain_preamp;
+ int replaygain_noclip;
double volume;
int volume_i;
int channels;