简体   繁体   中英

Encoding pcm samples to mp3 in real time iOS, possible?

I used LAME to encode aac to mp3 in iOS succesfuly. now i want to encode it in real time during the caputure of the pcm sample (meaning to pass the buffer insted of the file), is it possible using LAME to do it or i need to write new function for it?

Found this on GitHub. Full demo on how to record microphone samples (in form of AVAudioPCMBuffer via AVAudioEngine ) and encoding them to mp3 .

https://github.com/vlider/Mic-recording-minimal-example

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM