From d0c44be330968e9245575ea169fb186093f5c546 Mon Sep 17 00:00:00 2001 From: bnnm Date: Fri, 8 Dec 2017 00:17:42 +0100 Subject: [PATCH] Fix some VXN PCM --- src/meta/vxn.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/meta/vxn.c b/src/meta/vxn.c index d7161fcb..238d3e24 100644 --- a/src/meta/vxn.c +++ b/src/meta/vxn.c @@ -55,6 +55,13 @@ VGMSTREAM * init_vgmstream_vxn(STREAMFILE *streamFile) { vgmstream->meta_type = meta_VXN; switch (codec) { + case 0x0001: /* PCM */ + if (bits != 16) goto fail; + + vgmstream->coding_type = coding_PCM16LE; + vgmstream->interleave_block_size = block_align; + vgmstream->layout_type = layout_interleave; + break; case 0x0002: /* MSADPCM (ex. Asphalt 7) */ if (bits != 4) goto fail;