Configure audio output in Video Capture SDK .Net
Video Capture SDK .Net can use any audio output device supported by OS. The code sample shows you how to list available audio output devices and choose one of them.
Sample code
1. Get a list of available audio output devices and fill combo-box
foreach (string audioOutputDevice in VideoCapture1.Audio_OutputDevices)
{
cbAudioOutputDevice.Items.Add(audioOutputDevice);
}
2. Select audio output device
VideoCapture1.Audio_OutputDevice = cbAudioOutputDevice.Text;
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);