I am using
- (void)captureOutput:(AVCaptureOutput *)captureOutput didOutputSampleBuffer:(CMSampleBufferRef)sampleBuffer fromConnection:(AVCaptureConnection *)connection
To capture audio.
Is it possible to convert sampleBuffer to NSData in wav format (without saving to file)