Using built-in iOS libraries, how can I convert a linear PCM file recorded using AVAudioRecorder to m4a. I know I can record it originally in that format, but I need it in linear PCM first. I'm semi-familiar with ExtAudioFile but I can't quite get it to do what I want. Any ideas?
Best,
take a look at this sample project, should do what you want out of the box, you just need to modify it to fit your needs. Sample project. Another way you can do it is using AVFoundation, with AVAssetWriter/AVAssetReader, check out this link for more info
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With