Audio Capture ActiveX Control

FindAudioDevice

 

Search the Audio Device for a given string. It will return the index of audio device

Public Function FindAudioDevice(
     ByVal strDeviceName As String, _
    ) as Integer

 

Parameter
strDeviceName
the name of audio device you want to found.

Return Value
The index of audio device. otherwise it will return -1.


Example

   

Visual Basic Syntax
iIndex =AudioCapture1.FindAudioDevice "SB Live"