This stops the music when the game goes into pause, it restarts it when the game resumes. This works fine on desktop but not so good on mobile with Phonon...

This commit is contained in:
Xawotihs
2011-09-03 15:13:12 +00:00
parent bc3250fadc
commit 354f9788cc
2 changed files with 17 additions and 5 deletions

View File

@@ -100,7 +100,8 @@ public:
static string systemError;
static JMusic* music;
static string currentMusicFile;
static void playMusic(string filename, bool loop = true);
static void playMusic(string filename = "", bool loop = true);
static void stopMusic();
static int players[2];
};