mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-21 19:51:49 +00:00
SCI: Add more audio debugging output
This commit is contained in:
parent
165a8c26b9
commit
f477de2009
@ -505,7 +505,7 @@ void MidiParser_SCI::trackState(uint32 b) {
|
||||
_pSnd->_chan[channel]._mute = m;
|
||||
// CHECKME: Should we directly call remapChannels() if _mainThreadCalled?
|
||||
_music->needsRemap();
|
||||
debugC(2, kDebugLevelSound, "Dynamic mute change (mainThread = %d)", _mainThreadCalled);
|
||||
debugC(2, kDebugLevelSound, "Dynamic mute change (arg = %d, mainThread = %d)", m, _mainThreadCalled);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
@ -1154,10 +1154,18 @@ ChannelRemapping *SciMusic::determineChannelMap() {
|
||||
if (c == 0xFF || c == 0xFE || c == 0x0F)
|
||||
continue;
|
||||
const MusicEntryChannel &channel = song->_chan[c];
|
||||
if (channel._dontMap)
|
||||
if (channel._dontMap) {
|
||||
#ifdef DEBUG_REMAP
|
||||
debug(" Channel %d dontMap, skipping", c);
|
||||
#endif
|
||||
continue;
|
||||
if (channel._mute)
|
||||
}
|
||||
if (channel._mute) {
|
||||
#ifdef DEBUG_REMAP
|
||||
debug(" Channel %d muted, skipping", c);
|
||||
#endif
|
||||
continue;
|
||||
}
|
||||
|
||||
bool dontRemap = channel._dontRemap || song->playBed;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user