Commit db8e77ca authored by David Reid's avatar David Reid

Fix a compilation error with the C++ build.

parent 11779975
...@@ -74518,7 +74518,7 @@ MA_API ma_result ma_engine_read_pcm_frames(ma_engine* pEngine, void* pFramesOut, ...@@ -74518,7 +74518,7 @@ MA_API ma_result ma_engine_read_pcm_frames(ma_engine* pEngine, void* pFramesOut,
} }
if (pEngine->onProcess) { if (pEngine->onProcess) {
pEngine->onProcess(pEngine->pProcessUserData, pFramesOut, framesRead); pEngine->onProcess(pEngine->pProcessUserData, (float*)pFramesOut, framesRead); /* Safe cast to float* because the engine always works on floating point samples. */
} }
return MA_SUCCESS; return MA_SUCCESS;
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