mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-28 08:20:54 +01:00
Removed all code that is/potentially crashing winamp/vgmstream
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@883 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
This commit is contained in:
parent
ab8b8e86f4
commit
1519d29183
@ -121,10 +121,6 @@ void render_vgmstream_blocked(sample * buffer, int32_t sample_count, VGMSTREAM *
|
||||
case layout_dsp_bdsp_blocked:
|
||||
dsp_bdsp_block_update(vgmstream->next_block_offset,vgmstream);
|
||||
break;
|
||||
/*case layout_mtaf_blocked:
|
||||
mtaf_block_update(vgmstream->next_block_offset,vgmstream);
|
||||
case layout_tra_blocked:
|
||||
tra_block_update(vgmstream->next_block_offset,vgmstream);*/
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
@ -46,10 +46,6 @@ void filp_block_update(off_t block_offset, VGMSTREAM * vgmstream);
|
||||
|
||||
void ivaud_block_update(off_t block_offset, VGMSTREAM * vgmstream);
|
||||
|
||||
void mtaf_block_update(off_t block_offset, VGMSTREAM * vgmstream);
|
||||
|
||||
void tra_block_update(off_t block_offset, VGMSTREAM * vgmstream);
|
||||
|
||||
void render_vgmstream_interleave(sample * buffer, int32_t sample_count, VGMSTREAM * vgmstream);
|
||||
|
||||
void render_vgmstream_nolayout(sample * buffer, int32_t sample_count, VGMSTREAM * vgmstream);
|
||||
|
@ -521,16 +521,10 @@ VGMSTREAM * init_vgmstream_ps2_jstm(STREAMFILE* streamFile);
|
||||
|
||||
VGMSTREAM * init_vgmstream_ps3_xvag(STREAMFILE* streamFile);
|
||||
|
||||
VGMSTREAM * init_vgmstream_ps2_mtaf(STREAMFILE* streamFile);
|
||||
|
||||
VGMSTREAM * init_vgmstream_ps3_cps(STREAMFILE* streamFile);
|
||||
|
||||
VGMSTREAM * init_vgmstream_se_scd(STREAMFILE* streamFile);
|
||||
|
||||
VGMSTREAM * init_vgmstream_baf(STREAMFILE* streamFile);
|
||||
|
||||
VGMSTREAM * init_vgmstream_ngc_nst_dsp(STREAMFILE* streamFile);
|
||||
|
||||
VGMSTREAM * init_vgmstream_ngc_nst_dsp(STREAMFILE* streamFile);
|
||||
|
||||
VGMSTREAM * init_vgmstream_baf(STREAMFILE* streamFile);
|
||||
@ -545,10 +539,9 @@ VGMSTREAM * init_vgmstream_ps3_past(STREAMFILE* streamFile);
|
||||
|
||||
VGMSTREAM * init_vgmstream_ps3_sgh_sgb(STREAMFILE* streamFile);
|
||||
|
||||
//VGMSTREAM * init_vgmstream_xbox_tra(STREAMFILE* streamFile);
|
||||
|
||||
VGMSTREAM * init_vgmstream_ngca(STREAMFILE* streamFile);
|
||||
|
||||
VGMSTREAM * init_vgmstream_wii_ras(STREAMFILE* streamFile);
|
||||
|
||||
|
||||
#endif
|
||||
|
@ -282,8 +282,7 @@ VGMSTREAM * (*init_vgmstream_fcns[])(STREAMFILE *streamFile) = {
|
||||
init_vgmstream_dsp_dspw,
|
||||
init_vgmstream_ps2_jstm,
|
||||
init_vgmstream_ps3_xvag,
|
||||
//init_vgmstream_ps2_mtaf,
|
||||
init_vgmstream_ps3_cps,
|
||||
init_vgmstream_ps3_cps,
|
||||
init_vgmstream_se_scd,
|
||||
init_vgmstream_ngc_nst_dsp,
|
||||
init_vgmstream_baf,
|
||||
@ -292,7 +291,6 @@ VGMSTREAM * (*init_vgmstream_fcns[])(STREAMFILE *streamFile) = {
|
||||
init_vgmstream_nub_vag,
|
||||
init_vgmstream_ps3_past,
|
||||
init_vgmstream_ps3_sgh_sgb,
|
||||
//init_vgmstream_xbox_tra,
|
||||
init_vgmstream_ngca,
|
||||
init_vgmstream_wii_ras,
|
||||
};
|
||||
@ -736,10 +734,8 @@ void render_vgmstream(sample * buffer, int32_t sample_count, VGMSTREAM * vgmstre
|
||||
case layout_psx_mgav_blocked:
|
||||
case layout_ps2_adm_blocked:
|
||||
case layout_dsp_bdsp_blocked:
|
||||
//case layout_mtaf_blocked:
|
||||
/*case layout_tra_blocked:
|
||||
render_vgmstream_blocked(buffer,sample_count,vgmstream);
|
||||
break;*/
|
||||
break;
|
||||
case layout_interleave_byte:
|
||||
render_vgmstream_interleave_byte(buffer,sample_count,vgmstream);
|
||||
break;
|
||||
@ -1772,9 +1768,6 @@ void describe_vgmstream(VGMSTREAM * vgmstream, char * desc, int length) {
|
||||
case layout_mxch_blocked:
|
||||
snprintf(temp,TEMPSIZE,"MxCh blocked");
|
||||
break;
|
||||
/*case layout_mtaf_blocked:
|
||||
snprintf(temp,TEMPSIZE,"MTAF blocked");
|
||||
break; */
|
||||
case layout_ast_blocked:
|
||||
snprintf(temp,TEMPSIZE,"AST blocked");
|
||||
break;
|
||||
@ -2724,9 +2717,7 @@ void describe_vgmstream(VGMSTREAM * vgmstream, char * desc, int length) {
|
||||
case meta_NGCA:
|
||||
snprintf(temp,TEMPSIZE,"NGCA header");
|
||||
break;
|
||||
/*case meta_X360_TRA:
|
||||
snprintf(temp,TEMPSIZE,"Assume Def Jam Rapstar Track by .tra extension"); */
|
||||
case meta_WII_RAS:
|
||||
case meta_WII_RAS:
|
||||
snprintf(temp,TEMPSIZE,"RAS header");
|
||||
break;
|
||||
default:
|
||||
|
@ -82,7 +82,6 @@ typedef enum {
|
||||
coding_DVI_IMA, /* DVI (bare IMA, high nibble first), aka ADP4 */
|
||||
coding_INT_DVI_IMA, /* Interleaved DVI */
|
||||
coding_EACS_IMA,
|
||||
coding_UBI_IMA,
|
||||
coding_IMA, /* bare IMA, low nibble first */
|
||||
coding_INT_IMA, /* */
|
||||
coding_MS_IMA, /* Microsoft IMA */
|
||||
@ -158,8 +157,6 @@ typedef enum {
|
||||
layout_ps2_adm_blocked,
|
||||
layout_dsp_bdsp_blocked,
|
||||
layout_mxch_blocked,
|
||||
//layout_mtaf_blocked,
|
||||
//layout_tra_blocked,
|
||||
|
||||
#if 0
|
||||
layout_strm_blocked, /* */
|
||||
@ -492,14 +489,13 @@ typedef enum {
|
||||
meta_NGC_NST_DSP, /* Animaniacs [NGC] */
|
||||
meta_BAF, /* .baf (Blur) */
|
||||
meta_PS3_XVAG, /* Ratchet & Clank Future: Quest for Booty (PS3) */
|
||||
//meta_PS2_MTAF, /* Metal Gear 3 MTAF */
|
||||
meta_PS2_MTAF, /* Metal Gear 3 MTAF */
|
||||
meta_PS3_CPS, /* Eternal Sonata (PS3) */
|
||||
meta_PS3_MSF, /* MSF header */
|
||||
meta_NUB_VAG, /* VAG from Nub archives */
|
||||
meta_PS3_PAST, /* Bakugan Battle Brawlers (PS3) */
|
||||
meta_PS3_SGH_SGB, /* Folklore (PS3) */
|
||||
meta_NGCA, /* GoldenEye 007 (Wii) */
|
||||
//meta_X360_TRA, /* Def Jam Rapstar */
|
||||
meta_WII_RAS, /* Donkey Kong Country Returns (Wii) */
|
||||
} meta_t;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user