Audio Capture ActiveX Control

RefreshAudioInputPin

 

Refresh the audio pin if the audio device is changed.

Public Function RefreshAudioInputPin(
     ByVal iAudioDeviceIndex As Integer, _
    ) as Boolean

 

Parameter
iAudioDeviceIndex
the index of audio device.

Return Value
Return true if successful, otherwise false.


Example

   

Visual Basic Syntax
AudioCapture1.RefreshAudioInputPin iAudioDevice
For Each myAudioInputPin In AudioCapture1.AudioInputPins
    cboAudioInputPin.AddItem myAudioInputPin.Name
Next