We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 3435 - Failed to start CoreAudio on macOS 10.12
Summary: Failed to start CoreAudio on macOS 10.12
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: audio (show other bugs)
Version: 1.2.15
Hardware: x86_64 Mac OS X (All)
: P2 critical
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-29 02:52 UTC by Kyungdahm Yun
Modified: 2017-04-01 04:39 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kyungdahm Yun 2016-09-29 02:52:20 UTC
Some applications have errors when initializing SDL audio system (SDL_openAudio()) on the latest macOS 10.11. The error message looks like "Failed to start CoreAudio: AudioUnitSetProperty (kAudioUnitProperty_StreamFormat)". The property name may be different, i.e. kAudioUnitProperty_SetInputCallback.

I encountered this problem when running NeoPop-SDL, but it seems others also experience the same problem: https://github.com/FrozenSand/UrbanTerror4/issues/295
Comment 1 Ryan C. Gordon 2017-04-01 04:26:49 UTC
We've replaced the macOS audio code in the latest version of SDL entirely; it uses Apple's newer AudioQueues API instead of AudioUnits now, and will probably fix this bug.

--ryan.
Comment 2 Ryan C. Gordon 2017-04-01 04:39:58 UTC
Actually, marking this bug fixed, since the problem code is totally gone.  :)

--ryan.