#include <audiofilter.h>
Public Member Functions | |
virtual | ~AudioFilter () |
GstAudioFilter* | gobj () |
Provides access to the underlying C GObject. | |
const GstAudioFilter* | gobj () const |
Provides access to the underlying C GObject. | |
GstAudioFilter* | gobj_copy () |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. | |
Related Functions | |
(Note that these are not member functions.) | |
Glib::RefPtr <GstBase::AudioFilter> | wrap (GstAudioFilter* object, bool take_copy=false) |
A Glib::wrap() method for this object. |
GstBase::AudioFilter is a Gst::BaseTransform-derived base class for simple audio filters, ie. those that output the same format that they get as input.
GstBase::AudioFilter will parse the input format for you (with error checking) before calling your setup function. Also, elements deriving from GstBase::AudioFilter may use gst_audio_filter_class_add_pad_templates() from their base_init function to easily configure the set of caps/formats that the element is able to handle.
Derived classes should override the GstBase::AudioFilter::setup() and Gst::BaseTransform::transform_ip() and/or Gst::BaseTransform::transform() virtual functions in their class_init function.
virtual GstBase::AudioFilter::~AudioFilter | ( | ) | [virtual] |
const GstAudioFilter* GstBase::AudioFilter::gobj | ( | ) | const [inline] |
Provides access to the underlying C GObject.
Reimplemented from Gst::BaseTransform.
Reimplemented in GstBase::Volume.
GstAudioFilter* GstBase::AudioFilter::gobj | ( | ) | [inline] |
Provides access to the underlying C GObject.
Reimplemented from Gst::BaseTransform.
Reimplemented in GstBase::Volume.
GstAudioFilter* GstBase::AudioFilter::gobj_copy | ( | ) |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
Reimplemented from Gst::BaseTransform.
Reimplemented in GstBase::Volume.
Glib::RefPtr<GstBase::AudioFilter> wrap | ( | GstAudioFilter * | object, | |
bool | take_copy = false | |||
) | [related] |
A Glib::wrap() method for this object.
object | The C instance. | |
take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |