Menu Close

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

How Can We Help?

< Back
You are here:
Print

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

Try the following sample code:

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

Table of Contents