简体   繁体   中英

How to change caf High quality(sample rate) to caf Low quality(sample rate)

I'm using AVAudioRecorder . I record the audio in caf format with 44100 sample rate. It recorded successfully. After recording I want to convert already recorded caf audio file with 11025 and 22050 sample rate. Is it possible to change high to low & medium sample rate.

As of iOS 6, AVAudioSession can take that input and can likely convert it via this method:

setPreferredSampleRate: error: .

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