mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-24 03:24:50 +00:00
As far as I can tell / understand, IMuseDigital::getSoundStatus can safely just use isSoundHandleActive for both stream and streamSou (warning: might cause regressions)
svn-id: r30258
This commit is contained in:
parent
8b12998c72
commit
077026e088
@ -294,9 +294,8 @@ int IMuseDigital::getSoundStatus(int sound) const {
|
||||
for (int l = 0; l < MAX_DIGITAL_TRACKS; l++) {
|
||||
Track *track = _track[l];
|
||||
if (track->soundId == sound) {
|
||||
if ((track->streamSou && _mixer->isSoundHandleActive(track->mixChanHandle)) ||
|
||||
(track->stream && !track->stream->endOfStream())) {
|
||||
return 1;
|
||||
if (_mixer->isSoundHandleActive(track->mixChanHandle)) {
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user