diff options
author | Michele Calgaro <[email protected]> | 2023-10-05 14:42:25 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-10-05 22:01:08 +0900 |
commit | 1884d0e5a2d8269c27b5874a0626810f979e2e92 (patch) | |
tree | ed7dd1d96c5398e8b6c728a7c4bac5d1565e9754 /src/app/xineEngine.cpp | |
parent | 9f39f05e564cfc3624f5996994b43e33bebe66c9 (diff) | |
download | codeine-1884d0e5a2d8269c27b5874a0626810f979e2e92.tar.gz codeine-1884d0e5a2d8269c27b5874a0626810f979e2e92.zip |
Fix volume slider functionality and visualization
Signed-off-by: Michele Calgaro <[email protected]>
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; |