Bug fix in LazyUSF
This commit is contained in:
parent
1d3770757b
commit
5eb4b34e81
1 changed files with 1 additions and 1 deletions
|
@ -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 )
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue