diff options
author | Ori Avtalion | 2016-04-14 16:10:21 +0300 |
---|---|---|
committer | Ori Avtalion | 2016-04-14 16:10:21 +0300 |
commit | 356403233047e260e34887ba0144892be322f472 (patch) | |
tree | 354b2e73ded557e3aa543460a1fe8e952b4a0c88 /engines/gob | |
parent | 253e18c44080f57eb2334296e09297a2db5efda9 (diff) | |
download | scummvm-rg350-356403233047e260e34887ba0144892be322f472.tar.gz scummvm-rg350-356403233047e260e34887ba0144892be322f472.tar.bz2 scummvm-rg350-356403233047e260e34887ba0144892be322f472.zip |
JANITORIAL: Reduce audio header dependencies
Diffstat (limited to 'engines/gob')
-rw-r--r-- | engines/gob/inter_v2.cpp | 3 | ||||
-rw-r--r-- | engines/gob/sound/adlib.h | 1 | ||||
-rw-r--r-- | engines/gob/sound/bgatmosphere.h | 5 | ||||
-rw-r--r-- | engines/gob/sound/pcspeaker.cpp | 1 | ||||
-rw-r--r-- | engines/gob/sound/pcspeaker.h | 5 | ||||
-rw-r--r-- | engines/gob/sound/protracker.cpp | 1 | ||||
-rw-r--r-- | engines/gob/sound/protracker.h | 5 | ||||
-rw-r--r-- | engines/gob/sound/soundblaster.h | 5 | ||||
-rw-r--r-- | engines/gob/sound/sounddesc.cpp | 1 |
9 files changed, 18 insertions, 9 deletions
diff --git a/engines/gob/inter_v2.cpp b/engines/gob/inter_v2.cpp index 3aa7ad1664..4b58819c01 100644 --- a/engines/gob/inter_v2.cpp +++ b/engines/gob/inter_v2.cpp @@ -26,9 +26,6 @@ #include "gui/message.h" -#include "audio/mixer.h" -#include "audio/mods/infogrames.h" - #include "gob/gob.h" #include "gob/inter.h" #include "gob/global.h" diff --git a/engines/gob/sound/adlib.h b/engines/gob/sound/adlib.h index d60458295c..9d6b3053b6 100644 --- a/engines/gob/sound/adlib.h +++ b/engines/gob/sound/adlib.h @@ -25,7 +25,6 @@ #include "common/mutex.h" -#include "audio/audiostream.h" #include "audio/mixer.h" namespace OPL { diff --git a/engines/gob/sound/bgatmosphere.h b/engines/gob/sound/bgatmosphere.h index 1cfc63c79a..c838a2c2bb 100644 --- a/engines/gob/sound/bgatmosphere.h +++ b/engines/gob/sound/bgatmosphere.h @@ -23,13 +23,16 @@ #ifndef GOB_SOUND_BGATMOSPHERE_H #define GOB_SOUND_BGATMOSPHERE_H -#include "audio/mixer.h" #include "common/array.h" #include "common/mutex.h" #include "common/random.h" #include "gob/sound/soundmixer.h" +namespace Audio { +class Mixer; +} + namespace Gob { class SoundDesc; diff --git a/engines/gob/sound/pcspeaker.cpp b/engines/gob/sound/pcspeaker.cpp index d0dcb9a871..7ba9fa75df 100644 --- a/engines/gob/sound/pcspeaker.cpp +++ b/engines/gob/sound/pcspeaker.cpp @@ -20,6 +20,7 @@ * */ +#include "audio/softsynth/pcspk.h" #include "gob/sound/pcspeaker.h" namespace Gob { diff --git a/engines/gob/sound/pcspeaker.h b/engines/gob/sound/pcspeaker.h index ba2e00ce3e..2c3a12a168 100644 --- a/engines/gob/sound/pcspeaker.h +++ b/engines/gob/sound/pcspeaker.h @@ -24,7 +24,10 @@ #define GOB_SOUND_PCSPEAKER_H #include "audio/mixer.h" -#include "audio/softsynth/pcspk.h" + +namespace Audio { +class PCSpeaker; +} namespace Gob { diff --git a/engines/gob/sound/protracker.cpp b/engines/gob/sound/protracker.cpp index ce29100b85..7cf8dbb37c 100644 --- a/engines/gob/sound/protracker.cpp +++ b/engines/gob/sound/protracker.cpp @@ -22,6 +22,7 @@ #include "common/file.h" +#include "audio/audiostream.h" #include "audio/mods/protracker.h" #include "gob/sound/protracker.h" diff --git a/engines/gob/sound/protracker.h b/engines/gob/sound/protracker.h index ccd0d51552..17d909346e 100644 --- a/engines/gob/sound/protracker.h +++ b/engines/gob/sound/protracker.h @@ -24,7 +24,10 @@ #define GOB_SOUND_PROTRACKER_H #include "audio/mixer.h" -#include "audio/audiostream.h" + +namespace Audio { +class AudioStream; +} namespace Gob { diff --git a/engines/gob/sound/soundblaster.h b/engines/gob/sound/soundblaster.h index 6a732dbec9..8abed62019 100644 --- a/engines/gob/sound/soundblaster.h +++ b/engines/gob/sound/soundblaster.h @@ -24,10 +24,13 @@ #define GOB_SOUND_SOUNDBLASTER_H #include "common/mutex.h" -#include "audio/mixer.h" #include "gob/sound/soundmixer.h" +namespace Audio { +class Mixer; +} + namespace Gob { class SoundDesc; diff --git a/engines/gob/sound/sounddesc.cpp b/engines/gob/sound/sounddesc.cpp index f981d0b385..d56387078a 100644 --- a/engines/gob/sound/sounddesc.cpp +++ b/engines/gob/sound/sounddesc.cpp @@ -24,7 +24,6 @@ #include "common/memstream.h" #include "common/textconsole.h" -#include "audio/mixer.h" #include "audio/decoders/raw.h" #include "audio/decoders/wave.h" |