I'm using a table view to show all the audio files. When I'm selecting one
file among these and click on the record button, the newly recording sound
should be attached to the end of the selected file.

I'm referring the SpeakeHere example of apple.
But in the documentation, I found a method that is also using in my
application:
OSStatus AudioFileCreateWithURL (
CFURLRef inFileRef,
AudioFileTypeID inFileType,
const AudioStreamBasicDescription *inFormat,
UInt32 inFlags,
AudioFileID *outAudioFile);

inFlags:
Relevant flags for creating or opening the file. If
kAudioFileFlags_EraseFile is set, it erases an existing file. If the flag is
not set, the function fails fails if the URL is an existing file.

So is there any way to create audio file without erasing the existing file?

Thanks in advance
mahaboob


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to