diff options
author | Ori Avtalion | 2016-04-14 17:43:56 +0300 |
---|---|---|
committer | Ori Avtalion | 2016-04-14 17:43:56 +0300 |
commit | d32941f657397975936dd3f0b2df708438ea355e (patch) | |
tree | c3fa5338801327dfd78741d9bf7fedc627846d37 /engines/fullpipe/sound.h | |
parent | 5e4980090198a334b136bcdce16ea6addbe708a2 (diff) | |
download | scummvm-rg350-d32941f657397975936dd3f0b2df708438ea355e.tar.gz scummvm-rg350-d32941f657397975936dd3f0b2df708438ea355e.tar.bz2 scummvm-rg350-d32941f657397975936dd3f0b2df708438ea355e.zip |
FULLPIPE: Reduce audio header dependencies
Diffstat (limited to 'engines/fullpipe/sound.h')
-rw-r--r-- | engines/fullpipe/sound.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/engines/fullpipe/sound.h b/engines/fullpipe/sound.h index 14e766f5bb..983f28312b 100644 --- a/engines/fullpipe/sound.h +++ b/engines/fullpipe/sound.h @@ -23,6 +23,10 @@ #ifndef FULLPIPE_SOUND_H #define FULLPIPE_SOUND_H +namespace Audio { +class SoundHandle; +} + namespace Fullpipe { class Sound : public MemoryObject { @@ -31,7 +35,7 @@ class Sound : public MemoryObject { int _directSoundBuffer; int _directSoundBuffers[7]; byte *_soundData; - Audio::SoundHandle _handle; + Audio::SoundHandle *_handle; int _volume; public: @@ -45,7 +49,7 @@ public: virtual bool load(MfcArchive &file) { assert(0); return false; } // Disable base class void updateVolume(); int getId() const { return _id; } - Audio::SoundHandle getHandle() const { return _handle; } + Audio::SoundHandle *getHandle() const { return _handle; } void play(int flag); void freeSound(); |