mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-21 15:56:58 +02:00
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.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user