无法连接外部蓝牙麦克风作为AudioKit的输入。我在检查可用的输入设备时没有显示“ HeyMic”,但是在显示可用的输出设备时显示了“ HeyMic”。关于如何解决这个问题的任何想法吗?
您应该启用使用音频工具包以使蓝牙选项为真。
您可以使用下面的代码
do {
AKSettings.useBluetooth = true
try AKSettings.setSession(category: .playAndRecord , with: [.allowBluetoothA2DP, .defaultToSpeaker, .allowAirPlay])
} catch {
AKLog("Could not set session category.")
}