GstBase::AudioTestSrc Class Reference
[gstreamerbasemm Plugins]

GstBase::AudioTestSrc — audiotestsrc plugin. More...

#include <audiotestsrc.h>

Inheritance diagram for GstBase::AudioTestSrc:

Gst::BaseSrc Gst::Element Gst::Object

List of all members.

Public Member Functions

virtual ~AudioTestSrc ()
GstAudioTestSrc* gobj ()
 Provides access to the underlying C GObject.
const GstAudioTestSrc* gobj () const
 Provides access to the underlying C GObject.
GstAudioTestSrc* gobj_copy ()
 Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
Glib::PropertyProxy<int> property_samplesperbuffer ()
 Number of samples in each outgoing buffer.
Glib::PropertyProxy_ReadOnly<int> property_samplesperbuffer () const
 Number of samples in each outgoing buffer.
Glib::PropertyProxy
<AudioTestSrcWave
property_wave ()
 Oscillator waveform.
Glib::PropertyProxy_ReadOnly
<AudioTestSrcWave
property_wave () const
 Oscillator waveform.
Glib::PropertyProxy<double> property_freq ()
 Frequency of test signal.
Glib::PropertyProxy_ReadOnly
<double> 
property_freq () const
 Frequency of test signal.
Glib::PropertyProxy<double> property_volume ()
 Volume of test signal.
Glib::PropertyProxy_ReadOnly
<double> 
property_volume () const
 Volume of test signal.
Glib::PropertyProxy<bool> property_is_live ()
 Whether to act as a live source.
Glib::PropertyProxy_ReadOnly
<bool> 
property_is_live () const
 Whether to act as a live source.
Glib::PropertyProxy<gint64> property_timestamp_offset ()
 An offset added to timestamps set on buffers (in ns).
Glib::PropertyProxy_ReadOnly
<gint64> 
property_timestamp_offset () const
 An offset added to timestamps set on buffers (in ns).

Static Public Member Functions

static Glib::RefPtr<AudioTestSrccreate ()
 Creates a new audiotestsrc plugin with a unique name.
static Glib::RefPtr<AudioTestSrccreate (const Glib::ustring& name)
 Creates a new audiotestsrc plugin with the given name.

Protected Member Functions

 AudioTestSrc ()
 AudioTestSrc (const Glib::ustring& name)

Related Functions

(Note that these are not member functions.)

Glib::RefPtr
<GstBase::AudioTestSrc
wrap (GstAudioTestSrc* object, bool take_copy=false)
 A Glib::wrap() method for this object.


Detailed Description

GstBase::AudioTestSrc — audiotestsrc plugin.

Please include <gstreamerbasemm/audiotestsrc.h> to use. Also, though using the underlying GObject is fine, using its C type is not guaranteed to be API stable across releases because it is not guaranteed to always remain the same.


Constructor& Destructor Documentation

virtual GstBase::AudioTestSrc::~AudioTestSrc (  )  [virtual]

GstBase::AudioTestSrc::AudioTestSrc (  )  [protected]

GstBase::AudioTestSrc::AudioTestSrc ( const Glib::ustring &  name  )  [protected]


Member Function Documentation

static Glib::RefPtr<AudioTestSrc> GstBase::AudioTestSrc::create ( const Glib::ustring &  name  )  [static]

Creates a new audiotestsrc plugin with the given name.

static Glib::RefPtr<AudioTestSrc> GstBase::AudioTestSrc::create (  )  [static]

Creates a new audiotestsrc plugin with a unique name.

const GstAudioTestSrc* GstBase::AudioTestSrc::gobj (  )  const [inline]

Provides access to the underlying C GObject.

Reimplemented from Gst::BaseSrc.

GstAudioTestSrc* GstBase::AudioTestSrc::gobj (  )  [inline]

Provides access to the underlying C GObject.

Reimplemented from Gst::BaseSrc.

GstAudioTestSrc* GstBase::AudioTestSrc::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::BaseSrc.

Glib::PropertyProxy_ReadOnly<double> GstBase::AudioTestSrc::property_freq (  )  const

Frequency of test signal.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy<double> GstBase::AudioTestSrc::property_freq (  ) 

Frequency of test signal.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy_ReadOnly<bool> GstBase::AudioTestSrc::property_is_live (  )  const

Whether to act as a live source.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy<bool> GstBase::AudioTestSrc::property_is_live (  ) 

Whether to act as a live source.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy_ReadOnly<int> GstBase::AudioTestSrc::property_samplesperbuffer (  )  const

Number of samples in each outgoing buffer.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy<int> GstBase::AudioTestSrc::property_samplesperbuffer (  ) 

Number of samples in each outgoing buffer.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy_ReadOnly<gint64> GstBase::AudioTestSrc::property_timestamp_offset (  )  const

An offset added to timestamps set on buffers (in ns).

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy<gint64> GstBase::AudioTestSrc::property_timestamp_offset (  ) 

An offset added to timestamps set on buffers (in ns).

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy_ReadOnly<double> GstBase::AudioTestSrc::property_volume (  )  const

Volume of test signal.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy<double> GstBase::AudioTestSrc::property_volume (  ) 

Volume of test signal.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy_ReadOnly<AudioTestSrcWave> GstBase::AudioTestSrc::property_wave (  )  const

Oscillator waveform.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy<AudioTestSrcWave> GstBase::AudioTestSrc::property_wave (  ) 

Oscillator waveform.

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.


Friends And Related Function Documentation

Glib::RefPtr<GstBase::AudioTestSrc> wrap ( GstAudioTestSrc *  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:

Generated on Thu Jan 15 09:33:13 2009 for gstreamermm by  doxygen 1.5.7.1