AMRAudioSwift
AMRAudioSwift copied to clipboard
Fatal error while using function AMRAudio.decodeAMRDataToWAVEData
The data variable contains the AMR_WB data, I just want to transcode the data to pass it along to the AVSampleBufferAudioRenderer. So I was using this snippet of code
let data = AMRAudio.decodeAMRDataToWAVEData(amrData: amr_data)
But it is failing on this line sighting reason
AMRAudioSwift/AMRAudio.swift:13: Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value
Any insights would be appreciated :)