diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2013-05-21 00:20:06 -0400 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2013-05-21 00:20:06 -0400 |
commit | 00e55d0451930b6c271786d476c4d8b167e80477 (patch) | |
tree | 7fa21b870a85fb17f31dead634015a4ee7b1eff4 | |
parent | 87021f7c0ac4620eafd185ff11905ee643f72b6c (diff) |
Fix 87021f7 errors. There is no this->echo_pos when SPC_NOECHO != 0.
Anyway, that's true now.
Change-Id: I247ea9a10543a8b65f3e73495f0e2ea725ec533e
-rw-r--r-- | lib/rbcodec/codecs/libspc/spc_dsp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbcodec/codecs/libspc/spc_dsp.c b/lib/rbcodec/codecs/libspc/spc_dsp.c index c94fbc990e..58bf681d2e 100644 --- a/lib/rbcodec/codecs/libspc/spc_dsp.c +++ b/lib/rbcodec/codecs/libspc/spc_dsp.c @@ -904,7 +904,6 @@ void DSP_run_( struct Spc_Dsp* this, long count, int32_t* out_buf ) void DSP_reset( struct Spc_Dsp* this ) { this->keys_down = 0; - this->echo_pos = 0; this->noise_count = 0; this->noise = 2; @@ -927,6 +926,7 @@ void DSP_reset( struct Spc_Dsp* this ) #endif /* SPC_BRRCACHE */ #if !SPC_NOECHO + this->echo_pos = 0; echo_init(this); #endif /* SPC_NOECHO */ |