Bug fix in LazyUSF

CQTexperiment
Chris Moeller 2014-02-16 00:02:37 -08:00
parent 1d3770757b
commit 5eb4b34e81
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ void usf_render(void * state, int16_t * buffer, size_t count, int32_t * sample_r
if ( USF_STATE->samples_in_buffer )
{
memmove( USF_STATE->samplebuf, USF_STATE->samplebuf + do_max, sizeof(int16_t) * 2 * USF_STATE->samples_in_buffer );
memmove( USF_STATE->samplebuf, USF_STATE->samplebuf + do_max * 2, sizeof(int16_t) * 2 * USF_STATE->samples_in_buffer );
return;
}