How to write audio file locally recorded from microphone using AudioBuffer in iPhone?
问题 I am new to Audio framework, anyone help me to write the audio file which is playing by capturing from microphone? below is the code to play mic input through iphone speaker, now i would like to save the audio in iphone for future use. i found the code from here to record audio using microphone http://www.stefanpopp.de/2011/capture-iphone-microphone/ /** Code start from here for playing the recorded voice */ static OSStatus playbackCallback(void *inRefCon, AudioUnitRenderActionFlags