Viscom Software VideoCap ActiveX Control

AudioInputPins.FindInputPin Method

Description:   

Returns the index of the AudioInputPin object that  matches the given string.

Usage:   

AudioInputPins.FindInputPin Name

Data Type:   

String

Return Value:   

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

Example:   

This Visual Basic example find the audio input pin:

AudioIndex = VideoCap1.AudioInputPins.FindInputPin "Line In"