diff --git a/tests/ma_duplex.c b/tests/ma_duplex.c index c5ed9fa1..7099285d 100644 --- a/tests/ma_duplex.c +++ b/tests/ma_duplex.c @@ -34,7 +34,7 @@ void data_callback(ma_device* pDevice, void* pOutput, const void* pInput, ma_uin MA_ASSERT(pDevice->capture.format == pDevice->playback.format); /* In this test the format and channel count are the same for both input and output which means we can just memcpy(). */ - ma_copy_memory(pOutput, pInput, frameCount * ma_get_bytes_per_frame(pDevice->capture.format, pDevice->capture.channels)); + MA_COPY_MEMORY(pOutput, pInput, frameCount * ma_get_bytes_per_frame(pDevice->capture.format, pDevice->capture.channels)); #if defined(OUTPUT_WAV) && OUTPUT_WAV==1 /* Also write to a wav file for debugging. */