AVAudioRecorder - 继续记录到文件的用户停止录制后离开应用程序,然后重新打开它 [英] AVAudioRecorder - Continue recording to file after user stops recording by leaving the application and then re-opens it

查看:969
本文介绍了AVAudioRecorder - 继续记录到文件的用户停止录制后离开应用程序,然后重新打开它的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可以这样做?如果没有,多远下来,对核心音频,我需要去(我应该用什么方法记录代替)?

Can this be done? And if not, how far down towards Core Audio do I need to go (what method of recording should I be using instead)?

我注意到AVAudioRecorder的行为是覆盖一个文件,如果找到一个在当你要求它重新录制提供的路径,所以我知道这是行不通的。我也好奇这个想法文件格式的限制。可以有效恢复的AAC或IMA4编码(我想记录使WAV和文件的长度甚至可能苹果无损望而却步)?

I've noticed the behavior of AVAudioRecorder is to overwrite a file if it finds one at the path provided when you request that it record again, so I know that's not going to work. I'm also curious about file format restriction with this idea. Can you effectively resume an AAC or IMA4 encoding (the length of the files I want to record make WAV and probably even Apple Lossless prohibitive)?

感谢。

推荐答案

由于它现在站,看来AVAudioRecorder不能做到这一点。

As it stands right now, it appears AVAudioRecorder cannot do this.

这篇关于AVAudioRecorder - 继续记录到文件的用户停止录制后离开应用程序,然后重新打开它的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆