| Summary: | iOS CoreAudio doesn't close | ||
|---|---|---|---|
| Product: | SDL | Reporter: | C.W. Betts <computers57> |
| Component: | audio | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | HG 2.0 | ||
| Hardware: | ARM | ||
| OS: | iOS (All) | ||
| Attachments: | Close CoreAudio on iOS. | ||
Fixed, thanks! :) http://hg.libsdl.org/SDL/rev/b14b66ed5718 |
Created attachment 982 [details] Close CoreAudio on iOS. I noticed when looking through the CoreAudio code of SDL 2.0 that there was a fix me wondering how iOS closed the audio system. While working on my own audio code on PlayerPRO, I discovered that Carbon's component code was replaced in the audio subsystem with Audio Component Services. These services were introduced in OS X 10.6. I was able to take code from SDL 1.2 and incorporate it into my program while also upgrading it. This patch closes the audio unit on iOS using a function similar to CloseComponent.