diff options
Diffstat (limited to 'pacman-c++/audioplayer.h')
| -rw-r--r-- | pacman-c++/audioplayer.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pacman-c++/audioplayer.h b/pacman-c++/audioplayer.h index dd0c25a..567ccb1 100644 --- a/pacman-c++/audioplayer.h +++ b/pacman-c++/audioplayer.h | |||
| @@ -28,13 +28,14 @@ public: | |||
| 28 | public: | 28 | public: |
| 29 | AudioPlayer(); | 29 | AudioPlayer(); |
| 30 | static AudioPlayer *self(); | 30 | static AudioPlayer *self(); |
| 31 | bool isWorking(); | 31 | bool isWorking() const; |
| 32 | void stop(); | 32 | void stop(); |
| 33 | void setMuted(bool mute = true); | 33 | void setMuted(bool mute = true); |
| 34 | bool isMuted() const; | ||
| 34 | void play(Sound sound); | 35 | void play(Sound sound); |
| 35 | void clear(); | 36 | void clear(); |
| 36 | void enqueue(Sound sound); | 37 | void enqueue(Sound sound); |
| 37 | void clearQueue(); | 38 | void clearQueue() const; |
| 38 | Phonon::State state(); | 39 | Phonon::State state(); |
| 39 | 40 | ||
| 40 | signals: | 41 | signals: |
