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;
vgmstream->channels = read_16bitLE(0x56,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) {
int i;

View File

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

View File

@ -162,7 +162,7 @@ typedef enum {
meta_AUS, /* Variuos Capcom Games */
meta_RWS, /* Variuos Konami 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_XWB, /* King of Fighters (XBOX) */