From 1884d0e5a2d8269c27b5874a0626810f979e2e92 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 5 Oct 2023 14:42:25 +0900 Subject: Fix volume slider functionality and visualization Signed-off-by: Michele Calgaro --- src/app/xineEngine.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/app/xineEngine.cpp') diff --git a/src/app/xineEngine.cpp b/src/app/xineEngine.cpp index c57f79e..74f4f35 100644 --- a/src/app/xineEngine.cpp +++ b/src/app/xineEngine.cpp @@ -555,7 +555,10 @@ VideoWindow::setStreamParameter( int value ) else if( sender == "aspect_ratio_menu" ) parameter = XINE_PARAM_VO_ASPECT_RATIO; else if( sender == "volume" ) + { parameter = XINE_PARAM_AUDIO_AMP_LEVEL; + value = 100 - value; // TQt sliders are wrong way round when vertical + } else return; -- cgit v1.2.1