diff options
author | Ori Avtalion | 2016-04-14 17:18:33 +0300 |
---|---|---|
committer | Ori Avtalion | 2016-04-14 17:18:33 +0300 |
commit | 064df1ff2761dea322c805b45c3b356067114799 (patch) | |
tree | 8528c400c91486efed51136d51b8b5a255907fc4 /engines/gob/sound/bgatmosphere.h | |
parent | 5e4980090198a334b136bcdce16ea6addbe708a2 (diff) | |
download | scummvm-rg350-064df1ff2761dea322c805b45c3b356067114799.tar.gz scummvm-rg350-064df1ff2761dea322c805b45c3b356067114799.tar.bz2 scummvm-rg350-064df1ff2761dea322c805b45c3b356067114799.zip |
GOB: Reduce audio header dependencies
Diffstat (limited to 'engines/gob/sound/bgatmosphere.h')
-rw-r--r-- | engines/gob/sound/bgatmosphere.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/engines/gob/sound/bgatmosphere.h b/engines/gob/sound/bgatmosphere.h index c838a2c2bb..138b65a1c1 100644 --- a/engines/gob/sound/bgatmosphere.h +++ b/engines/gob/sound/bgatmosphere.h @@ -27,6 +27,7 @@ #include "common/mutex.h" #include "common/random.h" +#include "gob/sound/sound.h" #include "gob/sound/soundmixer.h" namespace Audio { @@ -39,18 +40,13 @@ class SoundDesc; class BackgroundAtmosphere : private SoundMixer { public: - enum PlayMode { - kPlayModeLinear, - kPlayModeRandom - }; - BackgroundAtmosphere(Audio::Mixer &mixer); ~BackgroundAtmosphere(); void playBA(); void stopBA(); - void setPlayMode(PlayMode mode); + void setPlayMode(Sound::BackgroundPlayMode mode); void queueSample(SoundDesc &sndDesc); void queueClear(); @@ -60,7 +56,7 @@ public: void unshade(); private: - PlayMode _playMode; + Sound::BackgroundPlayMode _playMode; Common::Array<SoundDesc *> _queue; int _queuePos; |