aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/music.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/xeen/music.h')
-rw-r--r--engines/xeen/music.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/engines/xeen/music.h b/engines/xeen/music.h
index a715471088..f09f96ff79 100644
--- a/engines/xeen/music.h
+++ b/engines/xeen/music.h
@@ -308,11 +308,9 @@ private:
* Updates any playing music
*/
void update();
-
protected:
- Audio::Mixer *_mixer;
public:
- Music(Audio::Mixer *mixer);
+ Music();
~Music();
/**
@@ -344,6 +342,13 @@ public:
* Plays a song
*/
void playSong(const Common::String &name);
+
+ /**
+ * Plays a song
+ */
+ void playSong(const byte *data) {
+ _musicDriver->playSong(data);
+ }
};
} // End of namespace Xeen