From 646c9849bc02c64398d5490b633132c0a3291441 Mon Sep 17 00:00:00 2001 From: manuel Date: Wed, 13 Apr 2011 03:49:23 +0200 Subject: adding google sounds --- pacman-c++/audio.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'pacman-c++/audio.h') 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 { Intro = 0, WakaWaka, - EatingCherry, + EatingFruit, + EatingGhost, Die, - Siren + Ambient }; }; @@ -47,6 +48,8 @@ public: bool isMuted() const; void setLoop(QFile *sound); void setLoop(Sound::Type sound); + void play(); + void play(Sound::Type sound); private: void test(QFile *testsound); -- cgit v1.2.3