7
我使用使用AVAudioRecorder錄製音頻文件中的mp3格式如下設置。如何以.mp3格式錄製音頻文件?
NSDictionary *recordSettings = [[NSDictionary alloc] initWithObjectsAndKeys:
[NSNumber numberWithFloat: 44100.0],AVSampleRateKey,
[NSNumber numberWithInt: kAudioFormatMPEGLayer3],AVFormatIDKey,
[NSNumber numberWithInt: 1], AVNumberOfChannelsKey,
[NSNumber numberWithInt: AVAudioQualityMax],AVEncoderAudioQualityKey,nil];
但是無法用這些記錄。 我搜索了很多,但沒能得到一些相關的帖子。 有些帖子說這是不可能的。如果它不可能那麼爲什麼如此呢? 請回答。
我有什麼編碼的邏輯編寫轉換爲.mp3 files.I意味着我可以使用哪些類呢? – iPhoneDev 2011-02-02 09:54:36