Update duplex test.

This commit is contained in:
David Reid
2020-02-02 14:13:42 +10:00
parent c67ef38bcc
commit 862f66c1fb
+1 -1
View File
@@ -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. */