Viscom Software Screen2Video ActiveX Control

AudioDevices.FindDevice Method

Description:   

Search the AudioDevices Collection for a given string. The string contains the name of a Audio Device.

Usage:   

AudioDevices.FindDevice Name

Data Type:   

String

Return Value:   

If the property Name of an AudioDevice object is equal to the given string. The FindDevice method return the index of the AudioDevice in the Collection. If the string is not found, the FindDevice method return -1.

Example:   

This Visual Basic example find the audio device:

AudioIndex = Screen2Video1.AudioDevices.FindDevice "YAMAHA AC-XG WDM Audio"