aboutsummaryrefslogtreecommitdiff
path: root/engines/cryo/eden.cpp
diff options
context:
space:
mode:
authorStrangerke2017-01-02 14:49:49 -0800
committerEugene Sandulenko2017-01-25 22:42:20 +0100
commitc667702f2c6f9e4adc301eb0a11f4c3c327076ad (patch)
tree59abb4cb13356a159fbf37acea7b110ba0d0f398 /engines/cryo/eden.cpp
parent448fe6303b0f4a5c33862ddaac0f8556b33d2f37 (diff)
downloadscummvm-rg350-c667702f2c6f9e4adc301eb0a11f4c3c327076ad.tar.gz
scummvm-rg350-c667702f2c6f9e4adc301eb0a11f4c3c327076ad.tar.bz2
scummvm-rg350-c667702f2c6f9e4adc301eb0a11f4c3c327076ad.zip
CRYO: Change soundchannel_t into a class
Diffstat (limited to 'engines/cryo/eden.cpp')
-rw-r--r--engines/cryo/eden.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/cryo/eden.cpp b/engines/cryo/eden.cpp
index a3187e598e..5900a7ba7a 100644
--- a/engines/cryo/eden.cpp
+++ b/engines/cryo/eden.cpp
@@ -5838,7 +5838,7 @@ void EdenGame::edmain() {
void EdenGame::intro() {
if (_vm->getPlatform() == Common::kPlatformMacintosh) {
// Play intro videos in HQ
- CLSoundChannel_Stop(_hnmSoundChannel);
+ _hnmSoundChannel->stop();
_vm->_video->closeSound();
_vm->_video->setupSound(5, 0x2000, 16, 22050 * 65536.0, 0);
_hnmSoundChannel = _vm->_video->getSoundChannel();
@@ -5847,7 +5847,7 @@ void EdenGame::intro() {
CLBlitter_FillScreenView(0);
_specialTextMode = false;
playHNM(2001);
- CLSoundChannel_Stop(_hnmSoundChannel);
+ _hnmSoundChannel->stop();
_vm->_video->closeSound();
_vm->_video->setupSound(5, 0x2000, 8, 11025 * 65536.0, 0);
_hnmSoundChannel = _vm->_video->getSoundChannel();
@@ -6354,8 +6354,8 @@ void EdenGame::showMovie(char arg1) {
_vm->_video->readHeader(_hnmContext);
if (_vm->_video->_curVideoNum == 92) {
// _hnmContext->_header._unusedFlag2 = 0; CHECKME: Useless?
- CLSoundChannel_SetVolumeLeft(_hnmSoundChannel, 0);
- CLSoundChannel_SetVolumeRight(_hnmSoundChannel, 0);
+ _hnmSoundChannel->setVolumeLeft(0);
+ _hnmSoundChannel->setVolumeRight(0);
}
if (_vm->_video->getVersion(_hnmContext) != 4)