Fix g++ warning.
svn-id: r40905
This commit is contained in:
parent
780899fb0e
commit
4d66b55316
1 changed files with 1 additions and 2 deletions
|
@ -1008,8 +1008,7 @@ reg_t kDoAudio(EngineState *s, int funct_nr, int argc, reg_t *argv) {
|
|||
case kSci1AudioPlay: {
|
||||
s->sound.audioResource->stop();
|
||||
|
||||
Audio::AudioStream *audioStream =
|
||||
audioStream = s->sound.audioResource->getAudioStream(UKPV(1), &sampleLen);
|
||||
Audio::AudioStream *audioStream = s->sound.audioResource->getAudioStream(UKPV(1), &sampleLen);
|
||||
|
||||
if (audioStream)
|
||||
mixer->playInputStream(Audio::Mixer::kSpeechSoundType, s->sound.audioResource->getAudioHandle(), audioStream);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue