aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/music.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-09-15 21:25:06 -0400
committerPaul Gilbert2016-09-15 21:25:06 -0400
commitc72d421659892a5e29390120466e09c9b9f53c9c (patch)
tree2438408af06e2bed9d495cab98e7de87df1ea278 /engines/xeen/music.h
parentb87318805f346f966b6ad0c39def13091cdeddd4 (diff)
downloadscummvm-rg350-c72d421659892a5e29390120466e09c9b9f53c9c.tar.gz
scummvm-rg350-c72d421659892a5e29390120466e09c9b9f53c9c.tar.bz2
scummvm-rg350-c72d421659892a5e29390120466e09c9b9f53c9c.zip
XEEN: Fix setting up music, musPlayInstrument command
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