diff options
author | Max Horn | 2015-07-19 17:06:18 +0200 |
---|---|---|
committer | Max Horn | 2015-07-19 17:06:18 +0200 |
commit | 91e925d8cec1eff97d76ba4f0870171a3cb5b3b3 (patch) | |
tree | 2cdad056dbd9bbd1327155d6b34f804739f9fbdb /engines/gob/sound/sound.cpp | |
parent | b52d48e0da709e6b78bf08a3cf4b2df3e100b500 (diff) | |
download | scummvm-rg350-91e925d8cec1eff97d76ba4f0870171a3cb5b3b3.tar.gz scummvm-rg350-91e925d8cec1eff97d76ba4f0870171a3cb5b3b3.tar.bz2 scummvm-rg350-91e925d8cec1eff97d76ba4f0870171a3cb5b3b3.zip |
GOB: Get rid of unused Audio::mixer references
Also remove the unused AdLib::_rate member variable.
Diffstat (limited to 'engines/gob/sound/sound.cpp')
-rw-r--r-- | engines/gob/sound/sound.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/gob/sound/sound.cpp b/engines/gob/sound/sound.cpp index 9b19b9c52c..22dfe9d3c3 100644 --- a/engines/gob/sound/sound.cpp +++ b/engines/gob/sound/sound.cpp @@ -234,7 +234,7 @@ bool Sound::adlibLoadADL(const char *fileName) { return false; if (!_adlPlayer) - _adlPlayer = new ADLPlayer(*_vm->_mixer); + _adlPlayer = new ADLPlayer(); debugC(1, kDebugSound, "AdLib: Loading ADL data (\"%s\")", fileName); @@ -256,7 +256,7 @@ bool Sound::adlibLoadADL(byte *data, uint32 size, int index) { return false; if (!_adlPlayer) - _adlPlayer = new ADLPlayer(*_vm->_mixer); + _adlPlayer = new ADLPlayer(); debugC(1, kDebugSound, "AdLib: Loading ADL data (%d)", index); @@ -749,7 +749,7 @@ void Sound::createMDYPlayer() { delete _adlPlayer; _adlPlayer = 0; - _mdyPlayer = new MUSPlayer(*_vm->_mixer); + _mdyPlayer = new MUSPlayer(); } void Sound::createADLPlayer() { @@ -759,7 +759,7 @@ void Sound::createADLPlayer() { delete _mdyPlayer; _mdyPlayer= 0; - _adlPlayer = new ADLPlayer(*_vm->_mixer); + _adlPlayer = new ADLPlayer(); } } // End of namespace Gob |