录制并将声音保存到文件

时间:2011-08-22 09:23:31

标签: objective-c audio record avaudiorecorder

如何录制声音并保存到文件(播放之后)?我需要小尺寸文件(越小越好)而不降低比特率。如何在iPhone上实现?

1 个答案:

答案 0 :(得分:0)

您好看一下这个Link

也使用这个:

//Reduce or Compress the audio file size 1/4
[settings setValue:[NSNumber numberWithInt:kAudioFormatAppleIMA4] forKey:AVFormatIDKey];