在Swift(iOS)中播放音乐时录制声音

时间:2017-11-19 22:35:27

标签: ios swift audio bluetooth audio-recording

我想在Swift中创建一个iOS应用程序,监控声音级别,同时通过耳机(有线和蓝牙)播放来自任何其他应用程序的音乐。监听目前仅在音乐通过耳机自动播放时起作用,而不是耳机或内置扬声器。是否可以同时实现.allowBluetooth和.mixWithOthers选项,或以其他任何方式解决此问题?非常感谢! : - )

    <intent-filter>
 <action android:name="android.intent.action.MAIN" />
 <category android:name="android.intent.category.LAUNCHER" /> 

</intent-filter>

0 个答案:

没有答案