AudioCompressors Class

Summary
An AudioCompressors object contains a collection of registered audio compressors.
Syntax
C#
C++/CLI
public class AudioCompressors : Compressors 
public ref class AudioCompressors : public Compressors, System.Collections.Generic.IEnumerable<Compressor>, System.Collections.IEnumerable, System.IDisposable   
Remarks

The CaptureCtrl and ConvertCtrl objects use this collection to enumerate and select audio compressors. An AudioCompressors object is not externally creatable and is only obtained through the parent object's CaptureCtrl.AudioCompressors and ConvertCtrl.AudioCompressors properties. This collection object is derived from the general Compressors object collection base class. The AudioCompressors collection object also provides helper properties which can be used to access a particular video compressor for selection and use. For example, you can access and/or select the AAC audio compressor by doing the following:

Compressor myComp = captureCtrl.AudioCompressors.AAC; 
myComp.Selected = true; 
OR obtain access directly from the control like this:
captureCtrl.AudioCompressors.AAC.Selected = true;

Note: You can also access other registered compressors that do not have helper property accessors by simply using the string indexer like:

captureCtrl.AudioCompressors["@device:sw:{33D9A761-90C8-11D0-BD43-00A0C911CE86}\\Some Other Audio Encoder"].Selected = true;
Requirements

Target Platforms

Help Version 22.0.2022.12.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Multimedia Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.