mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 12:39:56 +00:00
SCI/newmusic: moving commented assert
svn-id: r46632
This commit is contained in:
parent
fb237cd7ae
commit
f01a6c9adf
@ -1912,6 +1912,7 @@ SoundResource::SoundResource(uint32 resNumber, ResourceManager *resMan, SciVersi
|
||||
_tracks[trackNr].digitalSampleRate = READ_LE_UINT16(channel->data);
|
||||
_tracks[trackNr].digitalSampleSize = READ_LE_UINT16(channel->data + 2);
|
||||
assert(READ_LE_UINT16(channel->data + 4) == 0); // Possibly a compression flag
|
||||
//assert(READ_LE_UINT16(channelData + 6) == size);
|
||||
channel->data += 8; // Skip over header
|
||||
channel->size -= 8;
|
||||
}
|
||||
|
@ -311,7 +311,6 @@ void SciMusic::soundInitSnd(MusicEntry *pSnd) {
|
||||
// play digital sample
|
||||
if (track->digitalChannelNr != -1) {
|
||||
byte *channelData = track->channels[track->digitalChannelNr].data;
|
||||
//assert(READ_LE_UINT16(channelData + 6) == size);
|
||||
if (pSnd->pStreamAud)
|
||||
delete pSnd->pStreamAud;
|
||||
pSnd->pStreamAud = Audio::makeLinearInputStream(channelData, track->digitalSampleSize, track->digitalSampleRate,
|
||||
|
Loading…
Reference in New Issue
Block a user