[AE/CA/iOS] - fix CAUOutputDevice::EnableInputOuput() by checking the re... #4195

merged 1 commit into from Feb 13, 2014

4 participants

Team Kodi member

...turn value of AudioUnitGetProperty.

This was found by @linusyang when porting for xbmc arm64 - in case the AudioUnitGetProperty fails the SetProperty also would fail which causes EnableInputOutput to fail - which in turn goes up the complete call stack and leads to failing AE and therefore crash XBMC on startup.

@linusyang - i hope i got the reason right here ;)

Team Kodi member

jenkins build this please


@Memphiz Exactly what I meant. Thanks a lot for your quick fix. Hope this won't cause any new bugs. :)

@t-nelson t-nelson merged commit 4febe38 into xbmc:master Feb 13, 2014

1 check passed

Details default Merged build #205 succeeded in 1 hr 14 min
@Memphiz Memphiz deleted the Memphiz:fixiosenableinputoutput branch May 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment