Post

Replies

Boosts

Views

Activity

Reply to AVAudioSession 'defaultToSpeaker' kills mic input on iPhone
Retested the AudioKit "Cookbook" app with Xcode Version 14.0.1 (14A400) and iOS 15.7 and 'defaultToSpeaker' is now working as expected. Retested on my app and the mic is now working when 'defaultToSpeaker' is an option. Also, the mode on the initial post as gameChat, but I had changed it back to default. This didn't affect the issue when I posted, but mode is default now and things are working. To that end, it appears that this AVAudioSession init string is correct and some glitch worked itself out over the last month: let audioSession: AVAudioSession = AVAudioSession.sharedInstance() try audioSession.setCategory(AVAudioSession.Category.playAndRecord, mode: AVAudioSession.Mode.default, options: [.defaultToSpeaker, .mixWithOthers]) try audioSession.setActive(true)
Topic: Media Technologies SubTopic: Audio Tags:
Sep ’22
Reply to AVAudioSession 'defaultToSpeaker' kills mic input on iPhone
Nope, I was mistaken. My app still kills the mic if '.defaultToSpeaker' is used. Likely caused by mixing plugins, using one for mic capture and the other for midi playback. AudioKit Cookbook works as expected, so it doesn't appear to be an 'Apple' issue, it's an ID10T group effort problem.
Topic: Media Technologies SubTopic: Audio Tags:
Replies
Boosts
Views
Activity
Sep ’22
Reply to AVAudioSession 'defaultToSpeaker' kills mic input on iPhone
Retested the AudioKit "Cookbook" app with Xcode Version 14.0.1 (14A400) and iOS 15.7 and 'defaultToSpeaker' is now working as expected. Retested on my app and the mic is now working when 'defaultToSpeaker' is an option. Also, the mode on the initial post as gameChat, but I had changed it back to default. This didn't affect the issue when I posted, but mode is default now and things are working. To that end, it appears that this AVAudioSession init string is correct and some glitch worked itself out over the last month: let audioSession: AVAudioSession = AVAudioSession.sharedInstance() try audioSession.setCategory(AVAudioSession.Category.playAndRecord, mode: AVAudioSession.Mode.default, options: [.defaultToSpeaker, .mixWithOthers]) try audioSession.setActive(true)
Topic: Media Technologies SubTopic: Audio Tags:
Replies
Boosts
Views
Activity
Sep ’22
Reply to Xcode 14 failed to prepare iOS 15.7 device?
Ooh! Just noticed that there is an update available for Mac, installing now.
Replies
Boosts
Views
Activity
Sep ’22
Reply to Xcode 14 failed to prepare iOS 15.7 device?
I'm stuck, too. None of the IOS devices will talk to my M1 Mac
Replies
Boosts
Views
Activity
Sep ’22