#include <audiosrc.h>
Public Member Functions | |
virtual | ~AudioSrc () |
GstAudioSrc* | gobj () |
Provides access to the underlying C GObject. | |
const GstAudioSrc* | gobj () const |
Provides access to the underlying C GObject. | |
GstAudioSrc* | 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::AudioSrc> | wrap (GstAudioSrc* object, bool take_copy=false) |
A Glib::wrap() method for this object. |
This is the most simple base class for audio sources that only requires subclasses to implement a set of simple virtual functions:
All scheduling of samples and timestamps is done in this base class together with GstBase::BaseAudioSrc using a default implementation of a GstBase::RingBuffer that uses threads.
Last reviewed on 2006-09-27 (0.10.12)
virtual GstBase::AudioSrc::~AudioSrc | ( | ) | [virtual] |
const GstAudioSrc* GstBase::AudioSrc::gobj | ( | ) | const [inline] |
Provides access to the underlying C GObject.
Reimplemented from GstBase::BaseAudioSrc.
Reimplemented in GstBase::AlsaSrc.
GstAudioSrc* GstBase::AudioSrc::gobj | ( | ) | [inline] |
Provides access to the underlying C GObject.
Reimplemented from GstBase::BaseAudioSrc.
Reimplemented in GstBase::AlsaSrc.
GstAudioSrc* GstBase::AudioSrc::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 GstBase::BaseAudioSrc.
Reimplemented in GstBase::AlsaSrc.
Glib::RefPtr<GstBase::AudioSrc> wrap | ( | GstAudioSrc * | 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. |