From 9840556adcae8b00c83faa3d83b36dba1036fc5f Mon Sep 17 00:00:00 2001 From: NicknineTheEagle Date: Tue, 10 Aug 2021 05:34:34 +0300 Subject: [PATCH] EAAC: Fixed PCM channel offsets --- src/layout/blocked_ea_sns.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/layout/blocked_ea_sns.c b/src/layout/blocked_ea_sns.c index ba7a576b..9f9fbec5 100644 --- a/src/layout/blocked_ea_sns.c +++ b/src/layout/blocked_ea_sns.c @@ -42,6 +42,11 @@ void block_update_ea_sns(off_t block_offset, VGMSTREAM* vgmstream) { return; switch (vgmstream->coding_type) { + case coding_PCM16_int: + channel_start = 0x00; + channel_interleave = 0x02; + break; + case coding_NGC_DSP: /* 0x04: unknown (0x00/02), 0x08: some size?, 0x34: null? */ channel_start = read_32bitBE(block_offset + 0x08 + 0x00, sf);