Gnash  0.8.11dev
Public Member Functions | List of all members
gnash::media::gst::GnashAudio Class Reference

Contains information about audio input devices while enumerating information about attached hardware. This class is also referred back to by GnashAudioPrivate to re-access enumerated information. More...

#include <AudioInputGst.h>

Public Member Functions

GstElement * getElementPtr ()
 Accessor to retreive a the private _element variable from the GnashAudio class which contains a pointer to the audio source element. More...
 
void setElementPtr (GstElement *element)
 Accessor to set the private _element variable from the GnashAudio class. More...
 
gchar * getDevLocation ()
 Accessor to get the private _devLocation variable from the GnashAudio class. More...
 
void setDevLocation (gchar *l)
 Accessor to set the private _devLocation variable from the GnashAudio class. More...
 
gchar * getGstreamerSrc ()
 Accessor to return the private _gstreamerSrc variable from the GnashAudio class. More...
 
void setGstreamerSrc (gchar *s)
 Accessor to set the private _gstreamerSrc variable from the GnashAudio class. More...
 
gchar * getProductName ()
 Accessor to get the private _productName variable from the GnashAudio class. More...
 
void setProductName (gchar *n)
 Accessor to set the private _productName variable from the GnashAudio class. More...
 
 GnashAudio ()
 Constructor for the GnashAudio class. More...
 

Detailed Description

Contains information about audio input devices while enumerating information about attached hardware. This class is also referred back to by GnashAudioPrivate to re-access enumerated information.

Constructor & Destructor Documentation

§ GnashAudio()

gnash::media::gst::GnashAudio::GnashAudio ( )

Constructor for the GnashAudio class.

Referenced by setProductName().

Member Function Documentation

§ getDevLocation()

gchar* gnash::media::gst::GnashAudio::getDevLocation ( )
inline

Accessor to get the private _devLocation variable from the GnashAudio class.

Returns
The _devLocation private variable from GnashAudio class.

Referenced by gnash::media::gst::AudioInputGst::~AudioInputGst().

§ getElementPtr()

GstElement* gnash::media::gst::GnashAudio::getElementPtr ( )
inline

Accessor to retreive a the private _element variable from the GnashAudio class which contains a pointer to the audio source element.

Returns
GstElement* to the audio source element

§ getGstreamerSrc()

gchar* gnash::media::gst::GnashAudio::getGstreamerSrc ( )
inline

Accessor to return the private _gstreamerSrc variable from the GnashAudio class.

Returns
The _gstreamerSrc variable from the GnashAudio class. which should contain the type of the Gstreamer audio source element (e.g. pulsesrc).

Referenced by gnash::media::gst::AudioInputGst::~AudioInputGst().

§ getProductName()

gchar* gnash::media::gst::GnashAudio::getProductName ( )
inline

Accessor to get the private _productName variable from the GnashAudio class.

Returns
A gchar* containing the audio input's hardware name (e.g. HDA Intel).

§ setDevLocation()

void gnash::media::gst::GnashAudio::setDevLocation ( gchar *  l)
inline

Accessor to set the private _devLocation variable from the GnashAudio class.

Parameters
lA gchar* containing the physical location of the audio input hardware device.

References gnash::key::l.

§ setElementPtr()

void gnash::media::gst::GnashAudio::setElementPtr ( GstElement *  element)
inline

Accessor to set the private _element variable from the GnashAudio class.

Parameters
elementThe GstElement pointer to the audio source element.

§ setGstreamerSrc()

void gnash::media::gst::GnashAudio::setGstreamerSrc ( gchar *  s)
inline

Accessor to set the private _gstreamerSrc variable from the GnashAudio class.

Parameters
sA gchar* containing the type of the Gstreamer source element type (e.g. pulsesrc)

References gnash::key::s.

§ setProductName()

void gnash::media::gst::GnashAudio::setProductName ( gchar *  n)
inline

Accessor to set the private _productName variable from the GnashAudio class.

Parameters
nA gchar* to the hardware input device's hardware name (e.g. HDA Intel).

References GnashAudio(), and gnash::key::n.


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