Menu Close

How to get the raw audio samples from the audio capture device, without audio recording nor rendering

You are here:
< Back

Try the following sample code:

videoGrabber->SetAudioDevice(idx);
videoGrabber->SetRawAudioSampleCapture(TRUE);
videoGrabber->SetOnRawAudioSample(g_OnRawAudioSampleCb);
videoGrabber->StartAudioRendering();

Last Updated On May 17, 2019