utils: add debugable spa_memcpy

This commit is contained in:
Wim Taymans 2019-03-20 19:27:46 +01:00
parent c2cb74a146
commit 74cf412f47
5 changed files with 25 additions and 14 deletions

View file

@ -49,7 +49,7 @@ channelmix_copy(void *data, int n_dst, void *dst[n_dst],
}
else if (v == VOLUME_NORM) {
for (i = 0; i < n_dst; i++)
memcpy(d[i], s[i], n_samples * sizeof(float));
spa_memcpy(d[i], s[i], n_samples * sizeof(float));
}
else {
for (i = 0; i < n_dst; i++)