AudioCompressorIndex
method
Delphi
function AudioCompressorIndex (Value: string): LongInt;
C++Builder
System::LongInt __fastcall AudioCompressorIndex(System::UnicodeString Value);
C#
public int AudioCompressorIndex(string Value);
VB.NET
Public Function AudioCompressorIndex(Value As String) As Integer
C++/Qt
int AudioCompressorIndex (wchar_t *Value);
Retrieves the index of a given compressor in the AudioCompressors list. The function accepts wild chars. E.g.: VideoGrabber1.AudioCompressor := AudioCompressorIndex ('MPEG Layer-3'); // selects the "MPEG Layer-3" audio compressor. VideoGrabber1.AudioCompressor := AudioCompressorIndex ('MPEG'); // selects the 1st audio compressor that begins with "MPEG". VideoGrabber1.AudioCompressor := AudioCompressorIndex ('MPEG'); // selects the 1st audio compressor that contains "MPEG".