Configure audio output in Video Capture SDK .Net

Related products
Video Capture SDK .Net
Video Capture SDK .Net can use any audio output device supported by OS. Code sample shows you how to list available audio output devices and choose one of them.

1. Get list of available audio output devices and fill combobox

foreach (string audioOutputDevice in VideoCapture1.Audio_OutputDevices)
{
  cbAudioOutputDevice.Items.Add(audioOutputDevice);
}

2. Select audio output device

VideoCapture1.Audio_OutputDevice = cbAudioOutputDevice.Text;

3. Enable audio output

VideoCapture1.Audio_PlayAudio = true;

4. Set volume level (range is 0..100)

VideoCapture1.Audio_OutputDevice_SetVolume(75);

5. Set balance level (range is -100..100)

VideoCapture1.Audio_OutputDevice_SetBalance(0);
Please contact support to get help with this tutorial. Visit our GitHub page to get more code samples.
VisioForge © 2006 - 2021