User guide

Your app can send different audio streams to different output routes. For example, your app could send one
audio stream to the left headphone, another audio stream to the right headphone, and a third audio stream
to the HDMI routes. Figure 2-1 shows an example of sending multiple files to different audio routes.
Figure 2-1 Sending different files to different audio routes
Depending on the device and any connected accessories, the following are valid output route combinations:
USB and headphones
HDMI and headphones
LineOut and headphones
The multiroute category supports the use of a single input port.
Setting Your Audio Session Category
For most iOS apps, setting your audio session category at launch—and never changing it—works well. This
provides the best user experience because the devices audio behavior remains consistent as your app runs.
Working with Categories
Setting Your Audio Session Category
2014-09-17 | Copyright © 2014 Apple Inc. All Rights Reserved.
21