AudioProcessors Class


The AudioProcessors object contains a collection of registered audio processors.

public class AudioProcessors : Processors 
Public Class AudioProcessors  
   Inherits Processors 
   Implements System.Collections.Generic.ICollection(Of Processor), System.Collections.Generic.IEnumerable(Of Processor), System.Collections.Generic.IList(Of Processor), System.Collections.IEnumerable, System.IDisposable  
public ref class AudioProcessors : public Processors, System.Collections.Generic.ICollection<Processor>, System.Collections.Generic.IEnumerable<Processor>, System.Collections.Generic.IList<Processor>, System.Collections.IEnumerable, System.IDisposable   


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, CaptureCtrl.PreviewAudioProcessors, 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 simply using the string indexer like: Processor myProc = playCtrl.AudioProcessors["@device:sw:{5FFE757A-509A-477E-A1F1-68812010A6DD}\{my registered processor guid}"]; To register your own processor, see Processors.RegisterExternalProcessor.


Target Platforms

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

Leadtools.Multimedia Assembly