O'Reilly logo

Learning Core Audio: A Hands-On Guide to Audio Programming for Mac and iOS by Kevin Avila, Chris Adamson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

4. Recording

The first three chapters explored the nature of digital audio and how it is represented by Core Audio. The next step is processing—actually doing something with the audio. In the next two chapters, we’ll start moving samples through Core Audio’s recording and playback engines.

To do this, you’ll use Audio Queue Services, the highest-level playback and recording API in Core Audio. By the end of the chapter, you may think we’re nuts to call a C-based, callback-driven API “high level,” but audio queues provide some conveniences that the lower-level APIs don’t:

• Unlike with OpenAL and Audio Units, you can use encoded formats such as AAC and MP3 with audio queues.

• By default, Audio Queues call you back on their own thread, which isolates ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required