change some names and descriptions

git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@319 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
This commit is contained in:
halleyscometsw 2008-07-14 16:20:47 +00:00
parent bf6734372a
commit fc47619fdc
3 changed files with 8 additions and 5 deletions

View File

@ -76,7 +76,7 @@ VGMSTREAM * init_vgmstream_fsb(STREAMFILE *streamFile) {
start_offset = (read_32bitLE(0x08,streamFile))+fsb3_headerlen; start_offset = (read_32bitLE(0x08,streamFile))+fsb3_headerlen;
vgmstream->channels = read_16bitLE(0x56,streamFile); vgmstream->channels = read_16bitLE(0x56,streamFile);
vgmstream->sample_rate = read_32bitLE(0x4C,streamFile); vgmstream->sample_rate = read_32bitLE(0x4C,streamFile);
vgmstream->meta_type = meta_FSB; vgmstream->meta_type = meta_FSB3;
if (vgmstream->coding_type == coding_NGC_DSP) { if (vgmstream->coding_type == coding_NGC_DSP) {
int i; int i;

View File

@ -877,6 +877,9 @@ void describe_vgmstream(VGMSTREAM * vgmstream, char * desc, int length) {
case layout_interleave_shortblock: case layout_interleave_shortblock:
snprintf(temp,TEMPSIZE,"interleave with short last block"); snprintf(temp,TEMPSIZE,"interleave with short last block");
break; break;
case layout_interleave_byte:
snprintf(temp,TEMPSIZE,"sub-frame interleave");
break;
case layout_dtk_interleave: case layout_dtk_interleave:
snprintf(temp,TEMPSIZE,"ADP/DTK nibble interleave"); snprintf(temp,TEMPSIZE,"ADP/DTK nibble interleave");
break; break;
@ -926,7 +929,7 @@ void describe_vgmstream(VGMSTREAM * vgmstream, char * desc, int length) {
snprintf(temp,TEMPSIZE,"\n"); snprintf(temp,TEMPSIZE,"\n");
concatn(length,desc,temp); concatn(length,desc,temp);
if (vgmstream->layout_type == layout_interleave || vgmstream->layout_type == layout_interleave_shortblock) { if (vgmstream->layout_type == layout_interleave || vgmstream->layout_type == layout_interleave_shortblock || vgmstream->layout_type == layout_interleave_byte) {
snprintf(temp,TEMPSIZE,"interleave: %#x bytes\n", snprintf(temp,TEMPSIZE,"interleave: %#x bytes\n",
(int32_t)vgmstream->interleave_block_size); (int32_t)vgmstream->interleave_block_size);
concatn(length,desc,temp); concatn(length,desc,temp);
@ -1165,8 +1168,8 @@ void describe_vgmstream(VGMSTREAM * vgmstream, char * desc, int length) {
case meta_RSD: case meta_RSD:
snprintf(temp,TEMPSIZE,"RSD4 or RSD6 Header"); snprintf(temp,TEMPSIZE,"RSD4 or RSD6 Header");
break; break;
case meta_FSB: case meta_FSB3:
snprintf(temp,TEMPSIZE,"FSB Header"); snprintf(temp,TEMPSIZE,"FMOD Sample Bank (FSB3) Header");
break; break;
case meta_RWX: case meta_RWX:
snprintf(temp,TEMPSIZE,"RWX Header"); snprintf(temp,TEMPSIZE,"RWX Header");

View File

@ -162,7 +162,7 @@ typedef enum {
meta_AUS, /* Variuos Capcom Games */ meta_AUS, /* Variuos Capcom Games */
meta_RWS, /* Variuos Konami Games */ meta_RWS, /* Variuos Konami Games */
meta_RSD, /* Crash Bandicoot Games */ meta_RSD, /* Crash Bandicoot Games */
meta_FSB, /* FSB File (Various Games) */ meta_FSB3, /* FMOD Sample Bank, version 3 */
meta_RWX, /* Air Force Delta Storm (XBOX) */ meta_RWX, /* Air Force Delta Storm (XBOX) */
meta_XWB, /* King of Fighters (XBOX) */ meta_XWB, /* King of Fighters (XBOX) */