Tag Archives: AudioToolbox

Snippet: Playing a System Sound (ARC Version)

A minor change is needed to the “Playing a System Sound” code snippet. A __bridge modifier has to be added to the CFURLRef cast.

Posted in Code Snippets | Tagged , , , | 1 Comment

Snippet: Playing a System Sound

If you are using ARC see: “Playing a System Sound (ARC Version)”. Today I needed to add a simple beep sound to an app. The code snippet below shows all the relevant calls. If I had found a page with … Continue reading

Posted in Code Snippets | Tagged , , , | 3 Comments