summaryrefslogtreecommitdiffstats
path: root/src/app/xineEngine.h
diff options
context:
space:
mode:
authormio <stigma@disroot.org>2025-04-18 18:44:03 +1000
committermio <stigma@disroot.org>2025-05-11 16:46:23 +1000
commitd9afd6ce2b504f61945b021a427ea469285d19f9 (patch)
tree6bdfb379519e71ab9bb88c50ba717a1bbf463601 /src/app/xineEngine.h
parent6a71a1b4140d02f36e054ac3a57a832f8d9103ea (diff)
downloadcodeine-d9afd6ce2b504f61945b021a427ea469285d19f9.tar.gz
codeine-d9afd6ce2b504f61945b021a427ea469285d19f9.zip
Add mute checkbox to volume slider
Part of https://mirror.git.trinitydesktop.org/gitea/TDE/codeine/issues/5 Signed-off-by: mio <stigma@disroot.org>
Diffstat (limited to 'src/app/xineEngine.h')
-rw-r--r--src/app/xineEngine.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/app/xineEngine.h b/src/app/xineEngine.h
index 168080d..d934acc 100644
--- a/src/app/xineEngine.h
+++ b/src/app/xineEngine.h
@@ -62,6 +62,7 @@ namespace Codeine
uint time() const { return posTimeLength( Time ); }
uint length() const { return posTimeLength( Length ); }
+ bool isMuted() const;
uint volume() const;
const Engine::Scope &scope();
@@ -78,6 +79,7 @@ namespace Codeine
///special slot, see implementation to facilitate understanding
void setStreamParameter( int );
+ void setMuted(bool);
signals:
void stateChanged( Engine::State );