Skip to content

Commit

Permalink
Merge branch 'dev' of https://github.com/dr-soft/miniaudio into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
mackron committed Mar 17, 2019
2 parents e1eb387 + c6a24bd commit e184644
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion miniaudio.h
Original file line number Diff line number Diff line change
Expand Up @@ -17338,7 +17338,7 @@ ma_result ma_device_init_internal__coreaudio(ma_context* pContext, ma_device_typ


// Audio unit.
OSStatus status = ((ma_AudioComponentInstanceNew_proc)pContext->coreaudio.AudioComponentInstanceNew)(pContext->coreaudio.component, (AudioUnit*)&pData->audioUnit);
OSStatus status = ((ma_AudioComponentInstanceNew_proc)pContext->coreaudio.AudioComponentInstanceNew)((AudioComponent)pContext->coreaudio.component, (AudioUnit*)&pData->audioUnit);
if (status != noErr) {
return ma_result_from_OSStatus(status);
}
Expand Down

0 comments on commit e184644

Please sign in to comment.