AudioInputIndex
TVideoGrabber.AudioInputIndex |
||||
|
|
|
Returns the index of a given audio intput in the AudioInputs list.
Declaration
function AudioInputIndex(Value: String): LongInt;
int __fastcall AudioInputIndex(wchar_t *Value)
Function AudioInputIndex(Value As String) As Long
Description
Used to retrieve the index of a given audio intput in the AudioInputs list.
The function accepts wild chars. E.g.:
VideoGrabber1.AudioInput := AudioInputIndex ('Audio CD'); // selects the "Audio CD" audio input.
VideoGrabber1.AudioInput := AudioInputIndex ('CD*'); // selects the 1st audio input that begins with "CD".
VideoGrabber1.AudioInput := AudioInputIndex ('*CD*'); // selects the 1st audio input that contains "CD".
See Also
TAudioFormat AssociateAudioAndVideoDevices AudioBalance AudioDevice AudioDeviceIndex AudioDeviceName AudioDeviceRendering AudioDevices AudioDevicesCount AudioFormat AudioFormats AudioInput AudioInputLevel AudioInputMono AudioInputs AudioInputsCount AudioSource IsAudioCrossbarAvailable IsAudioDeviceASoundCard IsAudioDeviceConnected IsAudioInputBalanceAvailable OnAudioBufferNegotiation OnAudioDeviceSelected SpeakerBalance SpeakerControl SpeakerVolume
Created with the Personal Edition of HelpNDoc: News and information about help authoring tools and software