Open sahabe1 opened 7 years ago
If you don't perform closeAudioFile
, then you should be able to set an isRecording
boolean flag to decide if to append data or not, while the mic is fetching.
eg:
- (void) microphone:(EZMicrophone *)microphone
hasBufferList:(AudioBufferList *)bufferList
withBufferSize:(UInt32)bufferSize
withNumberOfChannels:(UInt32)numberOfChannels
{
if (self.isRecording)
{
[self.recorder appendDataFromBufferList:bufferList
withBufferSize:bufferSize];
}
}
Hi I want to recorder audio file for 10 second then stop again i start recording is possible to start recording from 11 second
just want to append new reorder to previous recorded file .