Код: Выделить всё
- (void)captureOutput:(AVCaptureOutput *)captureOutputdidOutputSampleBuffer:(CMSampleBufferRef)sampleBuffer
fromConnection:(AVCaptureConnection *)connection
< /code>
Но я хочу изменить звуковой формат SampleBuffer (cmasmentBuffergetFormatdescription). Пожалуйста, помогите мне, если это возможно.Currently getting
mediaSpecific: {ASBD: {mSampleRate: 44100.000000mFormatID: 'lpcm'mFormatFlags: 0xcmBytesPerPacket: 2mFramesPerPacket: 1mBytesPerFrame: 2mChannelsPerFrame: 1mBitsPerChannel: 16 }
Подробнее здесь: https://stackoverflow.com/questions/112 ... -000000-to