- (void)captureOutput:(AVCaptureOutput *)captureOutput didOutputSampleBuffer:(CMSampleBufferRef)sampleBuffer fromConnection:(AVCaptureConnection *)connection { AudioBufferList audioBufferList; CMBlockBufferRef blockBuffer; // Here i get AudioBufferList to save audio data CMSampleBufferGetAudioBufferListWithRetainedBlockBuffer( sampleBuffer, NULL, &audioBufferList, sizeof(audioBufferList), NULL, NULL, 0, &blockBuffer); // Here should be saving logic }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)