Audio rendering
Products: 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
Enumerate audio output devices.
foreach (var device in VideoCapture1.Audio_OutputDevices())
{
// add to some combobox
cbAudioOutputDevice.Items.Add(device.Name);
}
Set the audio output device and enable audio playback.
VideoCapture1.Audio_PlayAudio = true;
VideoCapture1.Audio_OutputDevice = "Device name";
Set volume.
VideoCapture1.Audio_OutputDevice_Volume_Set(75);
Set balance.
VideoCapture1.Audio_OutputDevice_Balance_Set(0);
Visit our GitHub page to get more code samples.