AudioDevices
property, read-only
Delphi
property AudioDevices: string read GetAudioDevices;
C++Builder
__property System::UnicodeString AudioDevices = {read=GetAudioDevices};
C#
public string AudioDevices { get; }
VB.NET
Public ReadOnly Property AudioDevices As String
C++/Qt
wchar_t *GetAudioDevices ();
Returns a string that contains the list of the audio capture devices available on the current platform. This list is updated when an audio capture device is connected or removed (when the OnDeviceArrivalOrRemoval event occurs).
This list can be assigned to list-based controls (AudioDevice is the index in the AudioDevices list), e.g.:
ComboBox1.Items.Text := VideoGrabber1.AudioDevices;
ComboBox1.ItemIndex := VideoGrabber1.AudioDevice;
The index of an audio capture device can be retrieved programmatically with the FindIndexInListByName function as follows:
VideoGrabber.AudioDevice := VideoGrabber.FindIndexInListByName (VideoGrabber.AudioDevices, 'name of my audio device', false, true);