diff options
| author | Michael Sevakis <jethead71@rockbox.org> | 2013-05-21 04:09:44 -0400 |
|---|---|---|
| committer | Michael Sevakis <jethead71@rockbox.org> | 2013-05-21 04:29:04 -0400 |
| commit | 71b9685dcd7868f233ce762a07731f6f1fd62adb (patch) | |
| tree | 9153ff0200f22a816e6fcc61ba9f53a9a860a69c /lib/rbcodec/codecs/libspc/spc_codec.h | |
| parent | 00e55d0451930b6c271786d476c4d8b167e80477 (diff) | |
| download | rockbox-71b9685dcd7868f233ce762a07731f6f1fd62adb.zip rockbox-71b9685dcd7868f233ce762a07731f6f1fd62adb.tar.gz rockbox-71b9685dcd7868f233ce762a07731f6f1fd62adb.tar.bz2 rockbox-71b9685dcd7868f233ce762a07731f6f1fd62adb.tar.xz | |
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
Diffstat (limited to 'lib/rbcodec/codecs/libspc/spc_codec.h')
| -rw-r--r-- | lib/rbcodec/codecs/libspc/spc_codec.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rbcodec/codecs/libspc/spc_codec.h b/lib/rbcodec/codecs/libspc/spc_codec.h index a8eee6b..9686694 100644 --- a/lib/rbcodec/codecs/libspc/spc_codec.h +++ b/lib/rbcodec/codecs/libspc/spc_codec.h @@ -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 |