mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-12-01 01:27:20 +01:00
Manually setting layout_none was not needed in mono PCM files
This commit is contained in:
parent
a79cc5546b
commit
a77d4d21ce
@ -301,9 +301,9 @@ VGMSTREAM * init_vgmstream_fsb_offset(STREAMFILE *streamFile, off_t offset) {
|
|||||||
//VGM_LOG("FSB FSOUND_IMAADPCM found\n");
|
//VGM_LOG("FSB FSOUND_IMAADPCM found\n");
|
||||||
#if 0
|
#if 0
|
||||||
if (fsbh.numchannels > 2) { /* Blade Kitten 5.1 */
|
if (fsbh.numchannels > 2) { /* Blade Kitten 5.1 */
|
||||||
vgmstream->coding_type = coding_MS_IMA;
|
vgmstream->coding_type = coding_XBOX;
|
||||||
vgmstream->layout_type = layout_none;
|
vgmstream->layout_type = layout_interleave;
|
||||||
vgmstream->interleave_block_size = 0x24 * vgmstream->channels;
|
vgmstream->interleave_block_size = 0x12 * vgmstream->channels;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -381,7 +381,7 @@ VGMSTREAM * init_vgmstream_fsb_offset(STREAMFILE *streamFile, off_t offset) {
|
|||||||
} else {
|
} else {
|
||||||
vgmstream->coding_type = coding_PCM16LE; /* ? coding_PCM16LE_int ? */
|
vgmstream->coding_type = coding_PCM16LE; /* ? coding_PCM16LE_int ? */
|
||||||
}
|
}
|
||||||
vgmstream->layout_type = vgmstream->channels == 1 ? layout_none : layout_interleave; /* needed? */
|
vgmstream->layout_type = layout_interleave;
|
||||||
vgmstream->interleave_block_size = 0x2;
|
vgmstream->interleave_block_size = 0x2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user