Audio Capture ActiveX Control

AudioDevices.FindDevice

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

Limitations:   

Read Only

Example:   

This Visual Basic example find the audio device:

AudioIndex = AudioCapture1.AudioDevices.FindDevice "Intel(r) Integrated Audio" 

Remark:   

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.