GstAudio.AudioFilter¶
- Subclasses:
- None 
Methods¶
- Inherited:
- GstBase.BaseTransform (15), Gst.Element (82), Gst.Object (27), GObject.Object (37) 
- Structs:
- GstAudio.AudioFilterClass (1), Gst.ElementClass (10), GObject.ObjectClass (5) 
| class | 
 | 
Virtual Methods¶
| 
 | 
Properties¶
- Inherited:
Signals¶
- Inherited:
Fields¶
- Inherited:
| Name | Type | Access | Description | 
|---|---|---|---|
| basetransform | r | ||
| info | r | 
Class Details¶
- class GstAudio.AudioFilter(**kwargs)¶
- Bases:
- Abstract:
- Yes 
- Structure:
 - GstAudio.AudioFilteris a- GstBase.BaseTransform-derived base class for simple audio filters, ie. those that output the same format that they get as input.- GstAudio.AudioFilterwill parse the input format for you (with error checking) before calling your setup function. Also, elements deriving from- GstAudio.AudioFiltermay use- GstAudio.AudioFilterClass.add_pad_templates() from their class_init function to easily configure the set of caps/formats that the element is able to handle.- Derived classes should override the - GstAudio.AudioFilter.do_setup() and- GstBase.BaseTransform.do_transform_ip() and/or- GstBase.BaseTransform.do_transform() virtual functions in their class_init function.- classmethod add_pad_templates(allowed_caps)¶
- 
Convenience function to add pad templates to this element class, with allowed_caps as the caps that can be handled. This function is usually used from within a GObject.Objectclass_init function.
 - do_setup(info) virtual¶
- Parameters:
- info ( - GstAudio.AudioInfo) –
- Return type:
 - virtual function called whenever the format changes