←Select platform

AudioProcessors Class

Summary

Contains a collection of registered audio processors.

Syntax

C#
VB
C++
public class AudioProcessors : Leadtools.Mediafoundation.Processors, System.Collections.Generic.ICollection<Processor>, System.Collections.Generic.IEnumerable<Processor>, System.Collections.Generic.IList<Processor>, System.Collections.IEnumerable   
Public Class AudioProcessors  
   Inherits Leadtools.Mediafoundation.Processors 
   Implements System.Collections.Generic.ICollection(Of Processor), System.Collections.Generic.IEnumerable(Of Processor), System.Collections.Generic.IList(Of Processor), System.Collections.IEnumerable  
public ref class AudioProcessors : public Leadtools.Mediafoundation.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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.MediaFoundation Assembly
Click or drag to resize