iOS是否可以在iOS 11的同时通过扬声器和耳机播放音频?

时间:2018-04-13 16:16:58

标签: ios

是否可以在iOS 11的同时通过扬声器和耳机播放音频?截至目前,我正试图在商店找到一个可以做到这一点的应用程序,到目前为止我没有运气。我找到了一些其他线程,但它们似乎不适合我,或者他们说你做不到。以下是一些链接,

https://developer.apple.com/library/content/documentation/Audio/Conceptual/AudioSessionProgrammingGuide/AudioSessionCategoriesandModes/AudioSessionCategoriesandModes.html

https://stackoverflow.com/a/35009801

https://apple.stackexchange.com/questions/48534/is-it-possible-to-play-sound-through-both-the-headphone-jack-and-my-internal-spe

iOS: Is it possible to send audio out both headphones and speakers at the same time?

Has anyone tried to play sounds through the speakers and headphones at the same time? Android + iOS

真正奇怪的是,我找不到任何官方文件,说明这是否只有'The built-in speaker may be used only if no other eligible output ports (USB, HDMI, LineOut) are connected.'

如果你需要代码让我知道,但我真的只是想知道它是否可行以及这样做的最佳途径是什么?关键是我想同时做到这一点。感谢。

1 个答案:

答案 0 :(得分:0)

因此,经过一番进一步的审查,我想拯救所有人头痛我必须经历的事情。可能吗?但是,苹果公司现在可能没有提供任何方法来做到这一点。似乎没有关于是否可以完成的官方文件(如果你找到一些,请更新这个答案)。

我必须支持我的答案的最佳证据是Apple声明'Important: The built-in speaker may be used only if no other eligible output ports (USB, HDMI, LineOut) are connected.'同样在此处发布的solutions中,两种方法都不起作用。我已经在iOS 11上测试了iPhone 7。

注意*在第二种方法中我认为作者混淆了频道'与'路线'。他正在改变和选择频道(对于支持它的设备,这就像是左,右或中间扬声器),而我则希望改变路线(在扬声器中播放,在耳机中播放,HDMI,USB和等...)。所以,在我看来,除非你是Apple或我错了,否则你不能同时在耳机和扬声器上播放(不同的声音或相同的声音)。