AVAudioRecorder - Continue recording to file after user stops recording by leaving the application and then re-opens it

StackOverflow https://stackoverflow.com/questions/2441180

Question

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)?

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)?

Thanks.

Was it helpful?

Solution 2

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

OTHER TIPS

As Tegeril says, AVAudioRecorder can't do. What you might be able to do though is record as separate files then concatenate using this answer:

How to append two audio files?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top