I am getting multiple instances of the same fatal exception, across iOS 12 and 13.
Fatal Exception: com.apple.coreaudio.avfaudio
required condition is false: IsFormatSampleRateAndChannelCountValid(format)
The app is crashing when the pitch engine starts. Here is the relevant code:
private let engine = PitchEngine()
override func viewWillAppear(_ animated: Bool) {
super.viewWillAppear(animated)
engine.start()
}
I found a stack overflow post referencing this crash, but it seems to be marginally helpful at best.
I dug around a bit in the Beethoven code, and traced this engine.start() call back to the audio session setup:
https://github.com/vadymmarkov/Beethoven/blob/master/Source/SignalTracking/Units/InputSignalTracker.swift#L41
Is this something you've seen before? Any ideas on how to resolve? Thanks
I am getting multiple instances of the same fatal exception, across iOS 12 and 13.
The app is crashing when the pitch engine starts. Here is the relevant code:
I found a stack overflow post referencing this crash, but it seems to be marginally helpful at best.
I dug around a bit in the Beethoven code, and traced this
engine.start()call back to the audio session setup:https://github.com/vadymmarkov/Beethoven/blob/master/Source/SignalTracking/Units/InputSignalTracker.swift#L41
Is this something you've seen before? Any ideas on how to resolve? Thanks