mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-01-29 19:37:30 +01:00
Fix RWS PCM16BE [The Legend of Spyro (X360)]
This commit is contained in:
parent
5d12d6fb67
commit
5bf0ddbfac
@ -160,9 +160,10 @@ VGMSTREAM * init_vgmstream_rws(STREAMFILE *streamFile) {
|
|||||||
|
|
||||||
switch(codec) {
|
switch(codec) {
|
||||||
case 0xD01BD217: /* PCM X360 (D01BD217 35874EED B9D9B8E8 6EA9B995) */
|
case 0xD01BD217: /* PCM X360 (D01BD217 35874EED B9D9B8E8 6EA9B995) */
|
||||||
/* The Legend of Spyro (X360) */
|
/* ex. The Legend of Spyro (X360) */
|
||||||
vgmstream->coding_type = coding_PCM16BE;
|
vgmstream->coding_type = coding_PCM16_int;
|
||||||
//vgmstream->interleave_block_size = block_size / 2; //0x2; //todo 2ch PCM not working correctly (interleaved PCM not ok?)
|
vgmstream->codec_endian = 1; /* big */
|
||||||
|
vgmstream->interleave_block_size = 0x02; /* only used to setup channels */
|
||||||
|
|
||||||
vgmstream->num_samples = pcm_bytes_to_samples(stream_size, channel_count, 16);
|
vgmstream->num_samples = pcm_bytes_to_samples(stream_size, channel_count, 16);
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user