Back to memmove, should be correct according to Justin
This commit is contained in:
parent
b65627c1ae
commit
3cdc6eabd6
@ -632,7 +632,7 @@ int WDL_Resampler::ResampleOut(WDL_ResampleSample *out, int nsamples_in, int nsa
|
||||
m_samples_in_rsinbuf -= isrcpos;
|
||||
if (m_samples_in_rsinbuf <= 0) m_samples_in_rsinbuf=0;
|
||||
else
|
||||
memcpy(localin, localin + isrcpos*nch,m_samples_in_rsinbuf*sizeof(WDL_ResampleSample)*nch);
|
||||
memmove(localin, localin + isrcpos*nch,m_samples_in_rsinbuf*sizeof(WDL_ResampleSample)*nch);
|
||||
|
||||
|
||||
return ret;
|
||||
|
Loading…
Reference in New Issue
Block a user