mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-01-31 04:13:47 +01:00
cleanup: rename sxd to sndx
This commit is contained in:
parent
dbeb538d1a
commit
bf9cc7f635
@ -1242,7 +1242,7 @@ static const meta_info meta_info_list[] = {
|
||||
{meta_ASTB, "Capcom ASTB header"},
|
||||
{meta_WWISE_RIFF, "Audiokinetic Wwise RIFF header"},
|
||||
{meta_UBI_RAKI, "Ubisoft RAKI header"},
|
||||
{meta_SXD, "Sony SXD header"},
|
||||
{meta_SNDX, "Sony SNDX header"},
|
||||
{meta_OGL, "Shin'en OGL header"},
|
||||
{meta_MC3, "Paradigm MC3 header"},
|
||||
{meta_GHS, "Hexadrive GHS/S_P_STH header"},
|
||||
|
@ -628,6 +628,7 @@
|
||||
<ClCompile Include="meta\smp.c" />
|
||||
<ClCompile Include="meta\smpl.c" />
|
||||
<ClCompile Include="meta\smv.c" />
|
||||
<ClCompile Include="meta\sndx.c" />
|
||||
<ClCompile Include="meta\sndz.c" />
|
||||
<ClCompile Include="meta\spm.c" />
|
||||
<ClCompile Include="meta\spsd.c" />
|
||||
@ -652,7 +653,6 @@
|
||||
<ClCompile Include="meta\svg.c" />
|
||||
<ClCompile Include="meta\svs.c" />
|
||||
<ClCompile Include="meta\swav.c" />
|
||||
<ClCompile Include="meta\sxd.c" />
|
||||
<ClCompile Include="meta\tac.c" />
|
||||
<ClCompile Include="meta\tgc.c" />
|
||||
<ClCompile Include="meta\thp.c" />
|
||||
|
@ -1705,6 +1705,9 @@
|
||||
<ClCompile Include="meta\smv.c">
|
||||
<Filter>meta\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="meta\sndx.c">
|
||||
<Filter>meta\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="meta\sndz.c">
|
||||
<Filter>meta\Source Files</Filter>
|
||||
</ClCompile>
|
||||
@ -1777,9 +1780,6 @@
|
||||
<ClCompile Include="meta\swav.c">
|
||||
<Filter>meta\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="meta\sxd.c">
|
||||
<Filter>meta\Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="meta\tac.c">
|
||||
<Filter>meta\Source Files</Filter>
|
||||
</ClCompile>
|
||||
|
@ -574,7 +574,7 @@ VGMSTREAM * init_vgmstream_ubi_raki(STREAMFILE* streamFile);
|
||||
|
||||
VGMSTREAM* init_vgmstream_pasx(STREAMFILE* sf);
|
||||
|
||||
VGMSTREAM * init_vgmstream_sxd(STREAMFILE *streamFile);
|
||||
VGMSTREAM * init_vgmstream_sndx(STREAMFILE *streamFile);
|
||||
|
||||
VGMSTREAM * init_vgmstream_ogl(STREAMFILE *streamFile);
|
||||
|
||||
|
@ -3,8 +3,8 @@
|
||||
#include "../util/chunks.h"
|
||||
|
||||
|
||||
/* SXD - Sony/SCE's SNDX lib format (cousin of SGXD) [Gravity Rush, Freedom Wars, Soul Sacrifice PSV] */
|
||||
VGMSTREAM* init_vgmstream_sxd(STREAMFILE* sf) {
|
||||
/* SXDF/SXDS - Sony/SCE's SNDX lib format (cousin of SGXD) [Gravity Rush, Freedom Wars, Soul Sacrifice PSV] */
|
||||
VGMSTREAM* init_vgmstream_sndx(STREAMFILE* sf) {
|
||||
VGMSTREAM* vgmstream = NULL;
|
||||
STREAMFILE* sf_sxd1 = NULL, *sf_sxd2 = NULL, *sf_data = NULL, *sf_h = NULL, *sf_b = NULL;
|
||||
off_t start_offset, chunk_offset, first_offset = 0x60, name_offset = 0;
|
||||
@ -180,7 +180,7 @@ VGMSTREAM* init_vgmstream_sxd(STREAMFILE* sf) {
|
||||
vgmstream = allocate_vgmstream(channels, loop_flag);
|
||||
if (!vgmstream) goto fail;
|
||||
|
||||
vgmstream->meta_type = meta_SXD;
|
||||
vgmstream->meta_type = meta_SNDX;
|
||||
vgmstream->sample_rate = sample_rate;
|
||||
|
||||
vgmstream->num_samples = num_samples;
|
@ -283,7 +283,7 @@ init_vgmstream_t init_vgmstream_functions[] = {
|
||||
init_vgmstream_ubi_raki,
|
||||
init_vgmstream_pasx,
|
||||
init_vgmstream_xma,
|
||||
init_vgmstream_sxd,
|
||||
init_vgmstream_sndx,
|
||||
init_vgmstream_ogl,
|
||||
init_vgmstream_mc3,
|
||||
init_vgmstream_ghs,
|
||||
|
@ -529,7 +529,7 @@ typedef enum {
|
||||
meta_ASTB,
|
||||
meta_WWISE_RIFF, /* Audiokinetic Wwise RIFF/RIFX */
|
||||
meta_UBI_RAKI, /* Ubisoft RAKI header (Rayman Legends, Just Dance 2017) */
|
||||
meta_SXD, /* Sony SXD (Gravity Rush, Freedom Wars PSV) */
|
||||
meta_SNDX,
|
||||
meta_OGL, /* Shin'en Wii/WiiU (Jett Rocket (Wii), FAST Racing NEO (WiiU)) */
|
||||
meta_MC3, /* Paradigm games (T3 PS2, MX Rider PS2, MI: Operation Surma PS2) */
|
||||
meta_GHS,
|
||||
@ -537,7 +537,7 @@ typedef enum {
|
||||
meta_MTA2,
|
||||
meta_XA_XA30,
|
||||
meta_XA_04SW,
|
||||
meta_TXTH, /* generic text header */
|
||||
meta_TXTH,
|
||||
meta_SK_AUD, /* Silicon Knights .AUD (Eternal Darkness GC) */
|
||||
meta_AHX,
|
||||
meta_STMA,
|
||||
|
Loading…
x
Reference in New Issue
Block a user