mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-21 15:56:58 +02:00
Fix a compilation error with the C++ build.
This commit is contained in:
+1
-1
@@ -74518,7 +74518,7 @@ MA_API ma_result ma_engine_read_pcm_frames(ma_engine* pEngine, void* pFramesOut,
|
||||
}
|
||||
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user