AudioProcessors Class

Summary
Contains a collection of registered audio processors.
Syntax
C#
C++/CLI
public class AudioProcessors : Processors 
public ref class AudioProcessors : public Processors, System.Collections.Generic.ICollection<Processor>, System.Collections.Generic.IEnumerable<Processor>, System.Collections.Generic.IList<Processor>, System.Collections.IEnumerable   
Remarks

The PlayCtrl, CaptureCtrl and ConvertCtrl objects use this collection to enumerate and select audio processors. An AudioProcessors object is not externally creatable and is only obtained through the parent object properties: PlayCtrl.AudioProcessors, PlayCtrl.SelectedAudioProcessors, CaptureCtrl.AudioProcessors, CaptureCtrl.SelectedAudioProcessors, ConvertCtrl.AudioProcessors and ConvertCtrl.SelectedAudioProcessors. This collection object is derived from the general Processors object collection base class. The AudioProcessors collection object also provides helper properties which can be used to access a particular audio processor for selection and use. For example, you could add the Chorus audio processor to the play control's selected audio processors by doing the following: playCtrl.SelectedAudioProcessors.Add(playCtrl.AudioProcessors.Chorus); Note: You can also access other registered processors that do not have helper property accessors by using the string indexer: Processor myProc = playCtrl.AudioProcessors["@device:sw:{5FFE757A-509A-477E-A1F1-68812010A6DD}\{my registered processor guid}"]; To register your own processor, see Processors.RegisterExternalProcessor.

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.MediaFoundation Assembly

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