gstreamermm 0.10.11

- Main Page
- Modules
- Namespaces
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Static Public Member Functions | Related Functions
Gst::AudioFilter Class Reference
gstreamermm Base Classes

A base class for simple audio filters. More...

Inheritance diagram for Gst::AudioFilter:
[legend]
Collaboration diagram for Gst::AudioFilter:
[legend]

List of all members.

## 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.
virtual bool | setup_vfunc (Gst::RingBufferSpec& format)
| Virtual function, called whenever the format changes.
## Static Public Member Functions
static GType | get_type ()
| Get the GType for this class, for use with the underlying GObject type system.
## Related Functions
(Note that these are not member functions.)
Glib::RefPtr< Gst::AudioFilter > | wrap (GstAudioFilter* object, bool take_copy=false)
| A Glib::wrap() method for this object.

## Detailed Description

A base class for simple audio filters.

Gst::AudioFilter is a Gst::BaseTransform-derived base class for simple audio filters, ie. those that output the same format that they get as input.

Gst::AudioFilter will parse the input format for you (with error checking) before calling your setup function. Also, elements deriving from Gst::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 Gst::AudioFilter::setup_vfunc() and Gst::BaseTransform::transform_ip_vfunc() and/or Gst::BaseTransform::transform_vfunc() virtual functions.

## Constructor & Destructor Documentation

virtual Gst::AudioFilter::~AudioFilter | ( |  | ) | `[virtual]`

## Member Function Documentation

static GType Gst::AudioFilter::get_type | ( |  | ) | `[static]`

Get the GType for this class, for use with the underlying GObject type system.

Reimplemented from Gst::BaseTransform.

Reimplemented in Gst::Volume.

GstAudioFilter* Gst::AudioFilter::gobj | ( |  | ) | `[inline]`

Provides access to the underlying C GObject.

Reimplemented from Gst::BaseTransform.

Reimplemented in Gst::Volume.

const GstAudioFilter* Gst::AudioFilter::gobj | ( |  | ) | const`[inline]`

Provides access to the underlying C GObject.

Reimplemented from Gst::BaseTransform.

Reimplemented in Gst::Volume.

GstAudioFilter* Gst::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 Gst::Volume.

virtual bool Gst::AudioFilter::setup_vfunc | ( | Gst::RingBufferSpec& | format | ) | `[virtual]`

Virtual function, called whenever the format changes.

## Friends And Related Function Documentation

Glib::RefPtr< Gst::AudioFilter > wrap | ( | GstAudioFilter * | object,
|  | bool | take_copy = `false`
| ) |  | `[related]`

A Glib::wrap() method for this object.

Parameters:

  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.

Returns:
  A C++ instance that wraps this C instance.

The documentation for this class was generated from the following file:

- gstreamermm/audiofilter.h