diff options
author | Filippos Karapetis | 2016-10-03 01:10:49 +0300 |
---|---|---|
committer | Filippos Karapetis | 2016-10-03 01:10:49 +0300 |
commit | b394b1b687a037369db6f4242329cf370d4d1c85 (patch) | |
tree | 5d24d172be0257ea2c0ced7bb2d38ef382df853b /engines/chewy | |
parent | ce800ff1ceff73cb89272f6cc11912396565f812 (diff) | |
download | scummvm-rg350-b394b1b687a037369db6f4242329cf370d4d1c85.tar.gz scummvm-rg350-b394b1b687a037369db6f4242329cf370d4d1c85.tar.bz2 scummvm-rg350-b394b1b687a037369db6f4242329cf370d4d1c85.zip |
CHEWY: Fix compilation
Diffstat (limited to 'engines/chewy')
-rw-r--r-- | engines/chewy/video/cfo_decoder.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/chewy/video/cfo_decoder.cpp b/engines/chewy/video/cfo_decoder.cpp index 09d264afb1..9cd04793d1 100644 --- a/engines/chewy/video/cfo_decoder.cpp +++ b/engines/chewy/video/cfo_decoder.cpp @@ -234,7 +234,7 @@ void CfoDecoder::CfoVideoTrack::handleCustomFrame() { case kChunkSetMusicVolume: volume = _fileStream->readUint16LE() * Audio::Mixer::kMaxChannelVolume / 63; - _mixer->setVolumeForSoundType(Audio::Mixer::SoundType::kMusicSoundType, volume); + _mixer->setVolumeForSoundType(Audio::Mixer::kMusicSoundType, volume); break; case kChunkSetLoopMode: error("Unused chunk kChunkSetLoopMode found"); @@ -256,13 +256,13 @@ void CfoDecoder::CfoVideoTrack::handleCustomFrame() { DisposeAfterUse::NO), (repeat == 0) ? 1 : repeat); - _mixer->setVolumeForSoundType(Audio::Mixer::SoundType::kSFXSoundType, volume); + _mixer->setVolumeForSoundType(Audio::Mixer::kSFXSoundType, volume); _mixer->playStream(Audio::Mixer::kSFXSoundType, &_soundHandle[channel], stream); break; case kChunkSetSoundVolume: volume = _fileStream->readUint16LE() * Audio::Mixer::kMaxChannelVolume / 63; - _mixer->setVolumeForSoundType(Audio::Mixer::SoundType::kSFXSoundType, volume); + _mixer->setVolumeForSoundType(Audio::Mixer::kSFXSoundType, volume); break; case kChunkSetChannelVolume: channel = _fileStream->readUint16LE(); |