Viscom Software VideoCap ActiveX Control

GetAudioDeviceName Method

Description:   

Return the name of Audio Device for specific index.. In some development tools, you cannot use AudioDevice Object, for this case, this method is useful.

Usage:   

VideoCap1.GetAudioDeviceName Parameter1
 

Parameter:

Parameter1 - the index of Audio Device
 

Return Value:

Return the name of Audio Device If the index is not found, return empty string.

Example:   

The Visual Basic.Net example 

For i = 0 To AxVideoCap1.GetAudioDeviceCount - 1
strAudioDeviceName = AxVideoCap1.GetAudioDeviceName(i)
cboaudiodevice.Items.Add(strAudioDeviceName)
Next