summaryrefslogtreecommitdiffstats
path: root/options
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-05-22 18:44:59 +0200
committerwm4 <wm4@nowhere>2015-05-22 19:16:42 +0200
commita165a614150bb6482fe3804d845daa571ccba051 (patch)
tree31dca1c62b921f9b46d90220e1403e069f34fe13 /options
parent68bbab0e42e141896545f1f6e9699bcad2d685f8 (diff)
downloadmpv-a165a614150bb6482fe3804d845daa571ccba051.tar.bz2
mpv-a165a614150bb6482fe3804d845daa571ccba051.tar.xz
audio: make softvol scale cubic
This brings the volume control closer to what is percepted as linear volume change. Adjust the --softvol-max default to roughly the old maximum (roughly doubles the gain).
Diffstat (limited to 'options')
-rw-r--r--options/options.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/options/options.c b/options/options.c
index dcd6167c4e..4c46c6f190 100644
--- a/options/options.c
+++ b/options/options.c
@@ -379,8 +379,8 @@ const m_option_t mp_opts[] = {
({"no", SOFTVOL_NO},
{"yes", SOFTVOL_YES},
{"auto", SOFTVOL_AUTO})),
- OPT_FLOATRANGE("softvol-max", softvol_max, 0, 100, 10000),
- OPT_FLOATRANGE("volume", mixer_init_volume, 0, -1, 10000),
+ OPT_FLOATRANGE("softvol-max", softvol_max, 0, 100, 1000),
+ OPT_FLOATRANGE("volume", mixer_init_volume, 0, -1, 1000),
OPT_CHOICE("mute", mixer_init_mute, 0,
({"auto", -1},
{"no", 0},
@@ -644,7 +644,7 @@ const struct MPOpts mp_default_opts = {
.video_decoders = NULL,
.deinterlace = -1,
.softvol = SOFTVOL_AUTO,
- .softvol_max = 200,
+ .softvol_max = 130,
.mixer_init_volume = -1,
.mixer_init_mute = -1,
.gapless_audio = -1,