diff --git a/readme.txt b/readme.txt index 4a8e0e5d..a5400dca 100644 --- a/readme.txt +++ b/readme.txt @@ -103,6 +103,7 @@ File types supported by this version of vgmstream: - .amts (GC DSP ADPCM) - .svs (PS2 ADPCM) - .wav (8/16 bit PCM) +- .lwav (8/16 bit PCM) - .pos (loop info for .wav) - .nwa (16 bit PCM) - .xss (16 bit PCM) @@ -129,6 +130,7 @@ File types supported by this version of vgmstream: - .rstm (PS2 ADPCM) - .acm (InterPlay ACM) - .sli (loop info for .ogg) +- .psh (PS2 ADPCM) Enjoy! -hcs diff --git a/src/meta/riff.c b/src/meta/riff.c index 799be26a..11422e41 100644 --- a/src/meta/riff.c +++ b/src/meta/riff.c @@ -104,7 +104,8 @@ VGMSTREAM * init_vgmstream_riff(STREAMFILE *streamFile) { /* check extension, case insensitive */ streamFile->get_name(streamFile,filename,sizeof(filename)); - if (strcasecmp("wav",filename_extension(filename))) goto fail; + if (strcasecmp("wav",filename_extension(filename)) && + strcasecmp("lwav",filename_extension(filename))) goto fail; /* check header */ if ((uint32_t)read_32bitBE(0,streamFile)!=0x52494646) /* "RIFF" */ diff --git a/unix/data.c b/unix/data.c index 05097960..16f00f28 100644 --- a/unix/data.c +++ b/unix/data.c @@ -91,6 +91,7 @@ gchar *vgmstream_exts [] = { "acm", "mus", "sli", + "lwav", /* terminator */ NULL }; diff --git a/winamp/in_vgmstream.c b/winamp/in_vgmstream.c index a385cabf..b03a8675 100644 --- a/winamp/in_vgmstream.c +++ b/winamp/in_vgmstream.c @@ -155,6 +155,7 @@ char * extension_list[] = { "dxh\0DXH Audio File (*.DXH)\0", "psh\0PSH Audio File (*.PSH)\0", "sli\0SLI Audio File (*.SLI)\0", + "lwav\0LWAV Audio File (*.LWAV)\0", }; void about(HWND hwndParent) {