diff options
Diffstat (limited to 'lib/rbcodec/codecs/libspc')
-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 ) | |||
904 | void DSP_reset( struct Spc_Dsp* this ) | 904 | void DSP_reset( struct Spc_Dsp* this ) |
905 | { | 905 | { |
906 | this->keys_down = 0; | 906 | this->keys_down = 0; |
907 | this->echo_pos = 0; | ||
908 | this->noise_count = 0; | 907 | this->noise_count = 0; |
909 | this->noise = 2; | 908 | this->noise = 2; |
910 | 909 | ||
@@ -927,6 +926,7 @@ void DSP_reset( struct Spc_Dsp* this ) | |||
927 | #endif /* SPC_BRRCACHE */ | 926 | #endif /* SPC_BRRCACHE */ |
928 | 927 | ||
929 | #if !SPC_NOECHO | 928 | #if !SPC_NOECHO |
929 | this->echo_pos = 0; | ||
930 | echo_init(this); | 930 | echo_init(this); |
931 | #endif /* SPC_NOECHO */ | 931 | #endif /* SPC_NOECHO */ |
932 | 932 | ||