From 862f66c1fb41319af34d9aa9e6c3cbbecc85b608 Mon Sep 17 00:00:00 2001 From: David Reid Date: Sun, 2 Feb 2020 14:13:42 +1000 Subject: [PATCH] Update duplex test. --- tests/ma_duplex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. */