AMRAudioSwift icon indicating copy to clipboard operation
AMRAudioSwift copied to clipboard

Fatal error while using function AMRAudio.decodeAMRDataToWAVEData

Open brosahay opened this issue 3 years ago • 0 comments

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 :)

brosahay avatar Feb 16 '22 13:02 brosahay