¡@

Home 

2014/10/15 ¤U¤È 10:04:12

iphone Programming Glossary: audiooutput

iPhone AVCaptureDeviceInput How to Set Quality of Audio Capture?

http://stackoverflow.com/questions/7796263/iphone-avcapturedeviceinput-how-to-set-quality-of-audio-capture

AVCaptureDeviceInput deviceInputWithDevice audioCaptureDevice error error captureSession addInput audioInput audioOutput AVCaptureAudioDataOutput alloc init audioOutput setSampleBufferDelegate self queue dispatch_get_main_queue captureSession.. audioCaptureDevice error error captureSession addInput audioInput audioOutput AVCaptureAudioDataOutput alloc init audioOutput setSampleBufferDelegate self queue dispatch_get_main_queue captureSession addOutput audioOutput iphone audio recording.. alloc init audioOutput setSampleBufferDelegate self queue dispatch_get_main_queue captureSession addOutput audioOutput iphone audio recording audio capture share improve this question This should do the trick. More here http developer.apple.com..

AVCaptureSession only got video buffer

http://stackoverflow.com/questions/9257052/avcapturesession-only-got-video-buffer

audioInput AVCaptureDeviceInput deviceInputWithDevice audioDevice error error Setup the audio output audioOutput AVCaptureAudioDataOutput alloc init Create the session captureSession AVCaptureSession alloc init captureSession addInput.. addInput videoInput captureSession addInput audioInput captureSession addOutput videoOutput captureSession addOutput audioOutput captureSession.sessionPreset AVCaptureSessionPreset640x480 Setup the queue dispatch_queue_t videoBufferQueue dispatch_queue_create.. dispatch_get_global_queue audioBufferQueue 0 videoOutput setSampleBufferDelegate self queue videoBufferQueue audioOutput setSampleBufferDelegate self queue videoBufferQueue dispatch_release videoBufferQueue dispatch_release audioBufferQueue..