1
0
Fork 0
forked from len0rd/rockbox

Fix FS#9577 - SNES player missing tracks on certain SPCs

Affected BRR cached waveforms but not realtime BRR decode as far as
I could ascertain. BRR cached waves required loop points to be inside
the initial waveform but this change removes that restriction.

Change-Id: I0ef4db720e5c28bd7b2fb9ae255d27c0a7213f79
This commit is contained in:
Michael Sevakis 2013-05-21 04:09:44 -04:00
parent 00e55d0451
commit 71b9685dcd
2 changed files with 87 additions and 46 deletions

View file

@ -292,6 +292,7 @@ struct voice_wave_t
int loop; /* length of looping area */
unsigned block_header; /* header byte from current BRR block */
uint8_t const* addr; /* BRR waveform address in RAM */
unsigned loop_addr; /* Loop address in RAM */
};
#else /* !SPC_BRRCACHE */
struct voice_wave_t