aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/sound.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2018-06-30 10:20:15 -0700
committerPaul Gilbert2018-06-30 10:20:15 -0700
commiteb829a33c91496c516cb7245286c8e1029fd145a (patch)
tree9619480a6b875391269dc3c9e241c27045cc9d62 /engines/xeen/sound.cpp
parente26259d758f3bc948fa6b2571d50a5944d94e9f0 (diff)
downloadscummvm-rg350-eb829a33c91496c516cb7245286c8e1029fd145a.tar.gz
scummvm-rg350-eb829a33c91496c516cb7245286c8e1029fd145a.tar.bz2
scummvm-rg350-eb829a33c91496c516cb7245286c8e1029fd145a.zip
XEEN: Split the Adlib sound driver into it's own file
Diffstat (limited to 'engines/xeen/sound.cpp')
-rw-r--r--engines/xeen/sound.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/xeen/sound.cpp b/engines/xeen/sound.cpp
index ae70c1f5d8..5148a006b5 100644
--- a/engines/xeen/sound.cpp
+++ b/engines/xeen/sound.cpp
@@ -24,6 +24,7 @@
#include "audio/decoders/voc.h"
#include "common/config-manager.h"
#include "xeen/sound.h"
+#include "xeen/sound_driver_adlib.h"
#include "xeen/xeen.h"
namespace Xeen {
@@ -31,7 +32,7 @@ namespace Xeen {
Sound::Sound(Audio::Mixer *mixer) : _mixer(mixer), _fxOn(true), _musicOn(true), _subtitles(false),
_songData(nullptr), _effectsData(nullptr), _musicSide(0), _musicPercent(100),
_musicVolume(0), _sfxVolume(0) {
- _SoundDriver = new AdlibSoundDriver();
+ _SoundDriver = new SoundDriverAdlib();
}
Sound::~Sound() {