Commit 862f66c1 authored by David Reid's avatar David Reid

Update duplex test.

parent c67ef38b
......@@ -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. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment