Formatting tweaks

This commit is contained in:
NicknineTheEagle 2021-12-08 16:50:05 +03:00
parent f277dfe27e
commit ec2373a98d
2 changed files with 4 additions and 4 deletions

View File

@ -159,7 +159,7 @@ void block_update_ea_schl(off_t block_offset, VGMSTREAM * vgmstream) {
flush_ea_mt(vgmstream);
break;
#ifdef VGM_USE_MPEG
#ifdef VGM_USE_MPEG
/* id, size, samples, offsets, unknown (null for MP2, some size/config for EALayer3; only if not >2ch) */
case coding_MPEG_custom:
case coding_MPEG_layer1:
@ -179,7 +179,7 @@ void block_update_ea_schl(off_t block_offset, VGMSTREAM * vgmstream) {
vgmstream->ch[i].offset = block_offset + 0x0C + (0x04*vgmstream->channels) + channel_start;
}
break;
#endif
#endif
/* id, size, samples, offsets-per-channel, interleaved data (w/ optional hist per channel) */
default:
for (i = 0; i < vgmstream->channels; i++) {

View File

@ -59,7 +59,7 @@ VGMSTREAM* init_vgmstream_wbk(STREAMFILE* sf) {
* 0x1c: sound offset
* 0x20: sample rate
* 0x24: always 0?
*
*
* struct slightly changed in Call of Duty 2 but still compatible
*/
entry_offset = table_offset + (target_subsong - 1) * 0x28;
@ -254,7 +254,7 @@ VGMSTREAM* init_vgmstream_wbk_nslb(STREAMFILE* sf) {
break;
}
case 0x25: /* FSB IMA */ {
case 0x25: { /* FSB IMA */
VGMSTREAM* fsb_vgmstream;
STREAMFILE* temp_sf;