From 9edf1e6a1a95f45b9883e298edc7e578ff9495d1 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 21 Oct 2006 12:44:10 +0000 Subject: cleanup svn-id: r24407 --- engines/scumm/sound.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'engines/scumm/sound.h') diff --git a/engines/scumm/sound.h b/engines/scumm/sound.h index 83607d3dd3..bda4fdd273 100644 --- a/engines/scumm/sound.h +++ b/engines/scumm/sound.h @@ -27,6 +27,10 @@ #include "sound/mixer.h" #include "scumm/saveload.h" +namespace Audio { +class Mixer; +} + namespace Scumm { class ScummEngine; @@ -52,6 +56,7 @@ public: protected: ScummEngine *_vm; + Audio::Mixer *_mixer; int16 _soundQuePos, _soundQue[0x100]; int16 _soundQue2Pos; @@ -85,7 +90,7 @@ public: byte _sfxMode; public: - Sound(ScummEngine *parent); + Sound(ScummEngine *parent, Audio::Mixer *mixer); virtual ~Sound(); virtual void addSoundToQueue(int sound, int heOffset = 0, int heChannel = 0, int heFlags = 0); virtual void addSoundToQueue2(int sound, int heOffset = 0, int heChannel = 0, int heFlags = 0); -- cgit v1.2.3