I am using EZaudio to play mp3 files and it works on iOS 12 and below but on physical Device (iPhone X) running iOS 13 app crashed and console print error
Error : Failed to fill complex buffer in float converter
I am using Audiokit and PandoraPlayer framework what may cause this error and how to fix this ?
I'm using this code to configure avaudiosession
and it works fine on iOS 12 and below
private func configureAudio() {
do {
try AVAudioSession.sharedInstance().setCategory(.playback, mode: .default)
try AVAudioSession.sharedInstance().setActive(true)
updateCommandCenter()
} catch {
print(error)
}
AKSettings.playbackWhileMuted = true;
AKSettings.enableRouteChangeHandling = true
}
I think EZAudioFloatConverter
and microphone may cause this problem but I am not using microphone in my app