Viscom Software Screen2Video ActiveX Control

GetAudioDeviceCount Method

Description:   

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

Usage:   

Screen2Video1.GetAudioDeviceCount
 

Parameter:

No Parameter
 

Return Value:

Return the count for Audio Device.

Example:   

The Visual Basic.Net example 

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