I am working on porting streaming audio player to swift. i need to conver the MP3 streaming audio in to PCM buffer before play it with AVAudioEngine. I observed that MP3 to PCM converter function(AudioConverterFillComplexBuffer) is missing in Swift.
How to write the code in swift to do the audio Conversion?