Merge pull request #5100 from unknownbrackets/sas-minor

Key off the envelope when the VAG/etc. ends
This commit is contained in:
Henrik Rydgård 2014-01-14 00:45:04 -08:00
commit 278224f89d

View File

@ -350,6 +350,7 @@ void SasVoice::ReadSamples(s16 *output, int numSamples) {
// NOTICE_LOG(SAS, "Hit end of VAG audio");
playing = false;
on = false; // ??
envelope.KeyOff();
}
}
break;
@ -378,6 +379,7 @@ void SasVoice::ReadSamples(s16 *output, int numSamples) {
// Hit atrac3 voice end
playing = false;
on = false; // ??
envelope.KeyOff();
}
}
break;