diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-10-05 14:42:25 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-10-06 12:55:12 +0900 |
commit | d1d095a264719caf78a389439bd751f9a044ab8b (patch) | |
tree | ed7dd1d96c5398e8b6c728a7c4bac5d1565e9754 /src/app/xineEngine.cpp | |
parent | decb99db2fd2ed41c4605436942f03e3b4f53116 (diff) | |
download | codeine-d1d095a264719caf78a389439bd751f9a044ab8b.tar.gz codeine-d1d095a264719caf78a389439bd751f9a044ab8b.zip |
Fix volume slider functionality and visualization
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 1884d0e5a2d8269c27b5874a0626810f979e2e92)
Diffstat (limited to 'src/app/xineEngine.cpp')
-rw-r--r-- | src/app/xineEngine.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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; |