我有1个控制器。首先我开始播放audio1。我使用此代码: - (void)viewDidLoad
{
//code to not turn off audio with using mute switch
[[AVAudioSession sharedInstance] setCategory:AVAudioSessionCategoryPlayback error:n
我试图在用户选择操作表上的选项时将音频输出更改为设备。这是当我选择音频去设备,蓝牙不会出现下一次: for input in AVAudioSession.sharedInstance().availableInputs!{
if input.portType == AVAudioSessionPortBluetoothA2DP || input.portType == AVAudi
/AVAudioSession我看到这里已经提出这样的问题: AirPods not working as an input source for Voice Recorder App 我这个线程,但没有任何反应检查英寸 但是,有谁知道是否/为什么AVAudioRecorder可能无法使用AirPods作为输入设备在应用程序中录制音频?我通过内置麦克风以及其他BT设备(Beats,便携式BT扬声器