Re: Saving a sound file with a specific duration
Re: Saving a sound file with a specific duration
- Subject: Re: Saving a sound file with a specific duration
- From: Richard Dobson <email@hidden>
- Date: Mon, 25 Mar 2013 15:26:30 +0000
On 25/03/2013 14:49, Adriano Gonçalves wrote:
Hi.
I've been searching for this for a while now and maybe I'm not using the
correct search termsbut I can't seemto find the solution.
Using AVAudioRecorder I can start recording a sound file using the method
[audiorecorder recordForDuration:10.0];
This way, if the user doesn't push the "stop recording" button, after
those 10 seconds the recording is stopped. That's what I need.
But if the user pushes the "stop" button BEFORE those 10 seconds are
gone, my sound file will be smaller.
So the question is, in those cases, how can I append "empty" seconds to
the recorded file, so that in the end it will have 10 seconds in
duration?Can it be done using AVAudioRecorder?
Not an answer to your question, but: why? I would think as a user that
if I stopped recording before the 10sec limit, it would be because I
wanted the shorter recording. Why waste space?
Richard Dobson
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden