1
0
Fork 0
forked from len0rd/rockbox

TDSpeed: Fix crackling on some systems

Use memmove instead of memcpy for overlapping copy, fixes
crackling in sims and warble on my system. Native targets
seem to have been unaffected.

Change-Id: I265d4ce373e224581bd2f5ba15c75b473ec231f2
This commit is contained in:
Nils Wallménius 2012-05-12 08:45:31 +02:00
parent 4b5348ba04
commit 2202ed3535

View file

@ -336,7 +336,7 @@ skip:;
for (int ch = 0; ch < st->channels; ch++)
{
memcpy(st->ovl_buff[ch], buf_in[ch] + i,
memmove(st->ovl_buff[ch], buf_in[ch] + i,
st->ovl_size * sizeof(int32_t));
}