[vlc-commits] Qt4: limit the UI volume to 125% (about +6dB)
Rémi Denis-Courmont
git at videolan.org
Sat Jul 21 17:39:08 CEST 2012
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Jul 21 18:29:29 2012 +0300| [5ad71b5fa2d1e35e9fd8da11e764f9d89f6e5f47] | committer: Rémi Denis-Courmont
Qt4: limit the UI volume to 125% (about +6dB)
Far too many clueless users push the volume far too high[1]. Then they
complain that VLC distorts the sound... Really anything above 100% (0dB)
is prone to saturation. In my experience, loss of quality is noticeable
at +6dB and unbearable at +10dB.
For the references:
In VLC 1.1, the UI was restricted to 200% (+6dB) by default,
while the audio output core allowed up to 400% (+12dB).
PulseAudio recommends +11dB.
Microsoft Windows limits to +0dB.
[1] I actually compared VLC 1.1, VLC 2.0 and WMP with an external
decibel metter. They give the same output at 0dB. At 6dB, both VLC
versions give the same decibel readings and slight distortion. So the
complaints are purely caused by confusion and cluelessness from users.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5ad71b5fa2d1e35e9fd8da11e764f9d89f6e5f47
---
modules/gui/qt4/util/input_slider.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/gui/qt4/util/input_slider.cpp b/modules/gui/qt4/util/input_slider.cpp
index 3380763..048b7f2 100644
--- a/modules/gui/qt4/util/input_slider.cpp
+++ b/modules/gui/qt4/util/input_slider.cpp
@@ -433,7 +433,7 @@ bool SeekSlider::isAnimationRunning() const
#define WLENGTH 80 // px
#define WHEIGHT 22 // px
#define SOUNDMIN 0 // %
-#define SOUNDMAX 200 // % OR 400 ?
+#define SOUNDMAX 125 // % (+6dB)
SoundSlider::SoundSlider( QWidget *_parent, int _i_step,
char *psz_colors )
More information about the vlc-commits
mailing list