From 949919bebd3923d59de3f4999e3b5c471fa00374 Mon Sep 17 00:00:00 2001 From: Colin Snover Date: Sat, 6 Aug 2016 11:14:44 -0500 Subject: SCI32: Remove VMD flags from Audio32 mixer The VMD decoder sends audio directly to the system mixer. --- engines/sci/sound/audio32.cpp | 6 ------ engines/sci/sound/audio32.h | 6 ------ 2 files changed, 12 deletions(-) diff --git a/engines/sci/sound/audio32.cpp b/engines/sci/sound/audio32.cpp index 0cf8e3cb13..288b7c00f5 100644 --- a/engines/sci/sound/audio32.cpp +++ b/engines/sci/sound/audio32.cpp @@ -309,11 +309,6 @@ int Audio32::readBuffer(Audio::st_sample_t *buffer, const int numSamples) { continue; } - if (channel.vmd) { - // TODO: VMD audio into output buffer - continue; - } - Audio::st_volume_t leftVolume, rightVolume; if (channel.pan == -1 || !isStereo()) { @@ -605,7 +600,6 @@ uint16 Audio32::play(int16 channelIndex, const ResourceId resourceId, const bool channel.resource = resource; channel.loop = loop; channel.robot = false; - channel.vmd = false; channel.fadeStartTick = 0; channel.soundNode = soundNode; channel.volume = volume < 0 || volume > kMaxVolume ? (int)kMaxVolume : volume; diff --git a/engines/sci/sound/audio32.h b/engines/sci/sound/audio32.h index b0c1ba1998..ac3176cc5a 100644 --- a/engines/sci/sound/audio32.h +++ b/engines/sci/sound/audio32.h @@ -122,12 +122,6 @@ struct AudioChannel { */ bool robot; - /** - * Whether or not this channel contains a VMD audio - * track. - */ - bool vmd; - /** * For digital sound effects, the related VM * Sound::nodePtr object for the sound. -- cgit v1.2.3