summaryrefslogtreecommitdiff
path: root/libavresample/options.c
diff options
context:
space:
mode:
authorJohn Stebbins <jstebbins.hb@gmail.com>2012-08-02 11:23:06 -0700
committerDiego Biurrun <diego@biurrun.de>2012-08-14 23:36:56 +0200
commit4cf4028331f9605cdd3ed5ff7a8ca2fbdaedf7fd (patch)
treeec7357ff0adc6e4ce7a531e8878ab8f177b40b6b /libavresample/options.c
parent11928d24fe64c97a5329677ddb9eda44cfca4a56 (diff)
libavresample: add mix level normalization option
Provides an option to disable mix level normalization Signed-off-by: Diego Biurrun <diego@biurrun.de>
Diffstat (limited to 'libavresample/options.c')
-rw-r--r--libavresample/options.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavresample/options.c b/libavresample/options.c
index 02e1f86308..e7e0c27c4d 100644
--- a/libavresample/options.c
+++ b/libavresample/options.c
@@ -47,6 +47,7 @@ static const AVOption options[] = {
{ "center_mix_level", "Center Mix Level", OFFSET(center_mix_level), AV_OPT_TYPE_DOUBLE, { M_SQRT1_2 }, -32.0, 32.0, PARAM },
{ "surround_mix_level", "Surround Mix Level", OFFSET(surround_mix_level), AV_OPT_TYPE_DOUBLE, { M_SQRT1_2 }, -32.0, 32.0, PARAM },
{ "lfe_mix_level", "LFE Mix Level", OFFSET(lfe_mix_level), AV_OPT_TYPE_DOUBLE, { 0.0 }, -32.0, 32.0, PARAM },
+ { "normalize_mix_level", "Normalize Mix Level", OFFSET(normalize_mix_level), AV_OPT_TYPE_INT, { 1 }, 0, 1, PARAM },
{ "force_resampling", "Force Resampling", OFFSET(force_resampling), AV_OPT_TYPE_INT, { 0 }, 0, 1, PARAM },
{ "filter_size", "Resampling Filter Size", OFFSET(filter_size), AV_OPT_TYPE_INT, { 16 }, 0, 32, /* ??? */ PARAM },
{ "phase_shift", "Resampling Phase Shift", OFFSET(phase_shift), AV_OPT_TYPE_INT, { 10 }, 0, 30, /* ??? */ PARAM },