iOS:是否可以同时从耳机和扬声器发送音频? [英] iOS: Is it possible to send audio out both headphones and speakers at the same time?

查看:203
本文介绍了iOS:是否可以同时从耳机和扬声器发送音频?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们希望从耳机插孔发送一些串行数据,但仍希望能够从扬声器播放音频。是否可以向两者发送输出?如果是这样,是否可以向每个发送不同的音频?

We're looking to send some serial data out from the headphone jack, but would like to still be able to play audio from the speakers. Is it possible to send output to both? If so, is it possible to send different audio to each?

推荐答案

据我所知。您可以获得路由更改时的程序通知(即,当有人连接耳机线时),但您无法指定用于输出的设备。

Not as far as I'm aware. You can get programatic notification of when the routing has changed (i.e. when someone connects a headphone cable), but you are unable to specify which device(s) to use for output.

这篇关于iOS:是否可以同时从耳机和扬声器发送音频?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆