aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/sound/sound.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2016-08-05 13:11:12 -0400
committerPaul Gilbert2016-08-05 13:11:12 -0400
commit386761f340ca0c891ca0b207bdcb8ec34c373cba (patch)
tree147760d78a7f6bf2ae2cc2148686066ffd7e7905 /engines/titanic/sound/sound.cpp
parent6e41f3673fa65be95226db7645c7d22b7b179ca5 (diff)
downloadscummvm-rg350-386761f340ca0c891ca0b207bdcb8ec34c373cba.tar.gz
scummvm-rg350-386761f340ca0c891ca0b207bdcb8ec34c373cba.tar.bz2
scummvm-rg350-386761f340ca0c891ca0b207bdcb8ec34c373cba.zip
TITANIC: Added skeleton QMixer class for mixer interface
Diffstat (limited to 'engines/titanic/sound/sound.cpp')
-rw-r--r--engines/titanic/sound/sound.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/titanic/sound/sound.cpp b/engines/titanic/sound/sound.cpp
index 40f5c4335e..5ee1d24d04 100644
--- a/engines/titanic/sound/sound.cpp
+++ b/engines/titanic/sound/sound.cpp
@@ -31,7 +31,8 @@ int CSoundItem::fn1() {
return 0;
}
-CSound::CSound(CGameManager *owner) : _gameManager(owner) {
+CSound::CSound(CGameManager *owner, Audio::Mixer *mixer) :
+ _gameManager(owner), _soundManager(mixer) {
g_vm->_movieManager.setSoundManager(&_soundManager);
}