aboutsummaryrefslogtreecommitdiff
path: root/include/aomusicplayer.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/aomusicplayer.h')
-rw-r--r--include/aomusicplayer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/aomusicplayer.h b/include/aomusicplayer.h
index d00ab8e8..037525fc 100644
--- a/include/aomusicplayer.h
+++ b/include/aomusicplayer.h
@@ -20,6 +20,7 @@ public:
virtual ~AOMusicPlayer();
void set_volume(int p_value, int channel = -1);
void set_looping(bool toggle, int channel = 0);
+ void set_muted(bool toggle);
const int m_channelmax = 4;
@@ -39,6 +40,7 @@ private:
AOApplication *ao_app;
bool m_looping = false;
+ bool m_muted = false;
int m_volume[4] = {0, 0, 0, 0};
// Channel 0 = music