Posts

Post not yet marked as solved
0 Replies
214 Views
I have a yeti blue microphone that I'm using to play audio. It works great but I have to disconnect the usb cable and then re-connect it every time I build my app. I need to use multiroute in my project. If I don't use multiroute then it seems to work without replugging it in. This is the code I'm using to set multiroute:do { try audioSession.setCategory(.multiRoute) //try audioSession.setCategory(.multiRoute, options: .mixWithOthers) } catch { print("unable to set category", error) return } do { try audioSession.setActive(true, options: .notifyOthersOnDeactivation) } catch { print("unable to set active", error) return }I'm listening to routeChangeNotifications and interruptionNotifications and displaying information when something changes. Is there something else I need to do to make audio work without unplugging the device every time?
Posted
by launch.
Last updated
.