I'd like to play different sound on headphones and speaker simultaneously in iOS5.
我想在iOS5中同时在耳机和扬声器上播放不同的声音。
Specifically I'm using headphone output to control R/C servo motors of a robot. I'd like to play sound effect through the speaker. Switching between speaker and headphones would not work since robot is self balancing and need continuos headphone output to balance.
具体来说,我使用耳机输出来控制机器人的R / C伺服电机。我想通过扬声器播放声音效果。扬声器和耳机之间的切换不起作用,因为机器人是自平衡的并且需要连续耳机输出来平衡。
Is this possible?
这可能吗?
1 个解决方案
#1
2
Not currently. iOS only exposes one stereo audio route to an app via any public API on stock devices. You will have to use another connectivity method to get the second audio output, such as a MFi device, wifi, gamekit to a second iPhone, etc.
不是现在。 iOS仅通过库存设备上的任何公共API向应用程序公开一条立体声音频路径。您将不得不使用另一种连接方法来获取第二个音频输出,例如MFi设备,wifi,第二个iPhone的游戏套件等。
#1
2
Not currently. iOS only exposes one stereo audio route to an app via any public API on stock devices. You will have to use another connectivity method to get the second audio output, such as a MFi device, wifi, gamekit to a second iPhone, etc.
不是现在。 iOS仅通过库存设备上的任何公共API向应用程序公开一条立体声音频路径。您将不得不使用另一种连接方法来获取第二个音频输出,例如MFi设备,wifi,第二个iPhone的游戏套件等。