summaryrefslogtreecommitdiffstats
path: root/pacman-c++/audio.h
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2011-04-13 03:49:23 +0200
committermanuel <manuel@mausz.at>2011-04-13 03:49:23 +0200
commit646c9849bc02c64398d5490b633132c0a3291441 (patch)
tree75035a88d3fe984d87c40e507c9a35c2382687b9 /pacman-c++/audio.h
parent5305fd513b105245059f55d82fc6210ad99d1d14 (diff)
downloadfoop-646c9849bc02c64398d5490b633132c0a3291441.tar.gz
foop-646c9849bc02c64398d5490b633132c0a3291441.tar.bz2
foop-646c9849bc02c64398d5490b633132c0a3291441.zip
adding google sounds
Diffstat (limited to 'pacman-c++/audio.h')
-rw-r--r--pacman-c++/audio.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/pacman-c++/audio.h b/pacman-c++/audio.h
index 2e14715..49d29a9 100644
--- a/pacman-c++/audio.h
+++ b/pacman-c++/audio.h
@@ -18,9 +18,10 @@ namespace Sound
18 { 18 {
19 Intro = 0, 19 Intro = 0,
20 WakaWaka, 20 WakaWaka,
21 EatingCherry, 21 EatingFruit,
22 EatingGhost,
22 Die, 23 Die,
23 Siren 24 Ambient
24 }; 25 };
25}; 26};
26 27
@@ -47,6 +48,8 @@ public:
47 bool isMuted() const; 48 bool isMuted() const;
48 void setLoop(QFile *sound); 49 void setLoop(QFile *sound);
49 void setLoop(Sound::Type sound); 50 void setLoop(Sound::Type sound);
51 void play();
52 void play(Sound::Type sound);
50 53
51private: 54private:
52 void test(QFile *testsound); 55 void test(QFile *testsound);