AudioCompressors
property, read-only
property AudioCompressors: string read GetAudioCompressors;
__property System::UnicodeString AudioCompressors = {read=GetAudioCompressors};
public string AudioCompressors { get; }
Public ReadOnly Property AudioCompressors As String
wchar_t *GetAudioCompressors ();
List of the video compressors (audio codecs) available on the current platform.
Remarks
Used to retrieve a string that contains the list of the audio compressors (audio codecs) available on the current platform.
This list can be assigned to list based controls. E.g.:
ComboBox1.Items.Text := VideoGrabber1.AudioCompressors;ComboBox1.ItemIndex := VideoGrabber1.AudioCompressor;
It is possible to retrieve programmatically the index of a Audio compressor by using the FindIndexInListByName function as follows:
VideoGrabber.AudioCompressor := AudioGrabber.FindIndexInListByName (VideoGrabber.AudioCompressors, 'name of my Audio encoder', false, true);
Note: when the application starts the VideoCompressors and AudioCompressors lists are populated with the codecs currently installed. To refresh the compressor lists after installing/uninstalling codecs without exiting/restarting the application, invoke RefreshDevicesAndCompressorsLists.