aboutsummaryrefslogtreecommitdiff
path: root/engines/cine/sound_driver.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/cine/sound_driver.h')
-rw-r--r--engines/cine/sound_driver.h18
1 files changed, 11 insertions, 7 deletions
diff --git a/engines/cine/sound_driver.h b/engines/cine/sound_driver.h
index 9717e2a760..250afa0d97 100644
--- a/engines/cine/sound_driver.h
+++ b/engines/cine/sound_driver.h
@@ -25,6 +25,15 @@
#ifndef CINE_SNDDRIVER_H_
#define CINE_SNDDRIVER_H_
+#include "sound/audiostream.h"
+#include "sound/fmopl.h"
+
+namespace Audio {
+ class Mixer;
+}
+
+namespace Cine {
+
#define ADLIB_REG_TIMER_1_DATA 2
#define ADLIB_REG_TIMER_CONTROL_FLAGS 4
#define ADLIB_REG_AM_VIBRATO_EG_KS 0x20
@@ -53,13 +62,6 @@ extern void snd_adlibDriverExit();
extern void snd_adlibDriverStopSong();
extern void snd_resetChannel(int channelNum);
-#include "sound/audiostream.h"
-#include "sound/fmopl.h"
-
-namespace Audio {
- class Mixer;
-}
-
class AdlibMusic : public AudioStream {
public:
AdlibMusic(Audio::Mixer * pMixer);
@@ -87,4 +89,6 @@ private:
void premixerCall(int16 *buf, uint len);
};
+} // End of namespace Cine
+
#endif /* CINE_SNDDRIVER_H_ */