Commit 44bd98fe authored by David Reid's avatar David Reid

Minor tweaks to the Core Audio backend.

parent 351ac32d
...@@ -15299,11 +15299,14 @@ mal_result mal_device_init_internal__coreaudio(mal_context* pContext, mal_device ...@@ -15299,11 +15299,14 @@ mal_result mal_device_init_internal__coreaudio(mal_context* pContext, mal_device
if (result != MAL_SUCCESS) { if (result != MAL_SUCCESS) {
return result; return result;
} }
pData->bufferSizeInFramesOut = actualBufferSizeInFrames * pData->periodsOut;
#else #else
actualBufferSizeInFrames = 4096; actualBufferSizeInFrames = 4096;
pData->bufferSizeInFramesOut = actualBufferSizeInFrames;
#endif #endif
pData->bufferSizeInFramesOut = actualBufferSizeInFrames * pData->periodsOut;
// During testing I discovered that the buffer size can be too big. You'll get an error like this: // During testing I discovered that the buffer size can be too big. You'll get an error like this:
// //
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