简体   繁体   English

iOS6多路音频

[英]iOS6 multi route audio

iOS 6.0 brought "multi-route audio" support to the iPhone / iPad. iOS 6.0为iPhone / iPad带来了“多路音频”支持。

DJay app for example benefits of it by allowing the user to hear one deck in headphones while playing the other. 通过允许用户在播放另一个耳机时听到耳机中的一个卡座,DJay app可以获得它的好处。

The only mention of it is in the AVAudioSession class reference : 唯一提到它的是AVAudioSession类引用:

AVAudioSessionCategoryMultiRoute Allows you to output distinct streams of audio data to different output devices at the same time. AVAudioSessionCategoryMultiRoute允许您同时将不同的音频数据流输出到不同的输出设备。 For example, you would use this category to route audio to both a USB device and a set of headphones. 例如,您可以使用此类别将音频路由到USB设备和一组耳机。 Use of this category requires a more detailed knowledge of, and interaction with, the capabilities of the available audio routes. 使用此类别需要更详细地了解可用音频路径的功能并与之交互。

This category may be used for input, output, or both. 此类别可用于输入,输出或两者。

Available in iOS 6.0 and later. 适用于iOS 6.0及更高版本。

How to route two distinct streams to different routes ? 如何将两个不同的流路由到不同的路由? Especially using Remote I/O ? 特别是使用远程I / O?

Thanks! 谢谢!

Answering to myself : there's actually no information in iOS Developer Library, but hopefully, there's all the info needed in WWDC developer sessions. 回答自己:iOS Developer Library中实际上没有信息,但希望WWDC开发者会话中需要所有信息。

Search for: WWDC 2012 Session 505: Audio Session and Multiroute Audio in iOS by Torrey Holbrook Walker. 搜索:WWDC 2012 Session 505:Torrey Holbrook Walker在iOS中的音频会话和多路径音频。

I hope that may help somebody else. 我希望这可以帮助别人。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM