Commit eac61ddc authored by David Reid's avatar David Reid

All the engine to be used with MA_NO_DEVICE_IO.

This allows the engine to be used independent of a device which might
be useful for tools.
parent 0b880d6a
This diff is collapsed.
......@@ -56,7 +56,7 @@ ma_result do_conversion(ma_decoder* pDecoder, ma_encoder* pEncoder)
}
/* At this point we have the raw data from the decoder. We now just need to write it to the encoder. */
ma_encoder_write_pcm_frames(pEncoder, pRawData, framesReadThisIteration);
ma_encoder_write_pcm_frames(pEncoder, pRawData, framesReadThisIteration, NULL);
/* Get out of the loop if we've reached the end. */
if (framesReadThisIteration < framesToReadThisIteration) {
......
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