Public Member Functions

gnash::media::gst::AudioInputGst Class Reference

The main AudioInputGst class, which actually doesn't store too much important information (most of that is stored in the GnashAudio and GnashAudioPrivate classes). More...

#include <AudioInputGst.h>

Inheritance diagram for gnash::media::gst::AudioInputGst:
Inheritance graph
[legend]
Collaboration diagram for gnash::media::gst::AudioInputGst:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 AudioInputGst ()
 This part implements the interface.
virtual ~AudioInputGst ()
virtual void setActivityLevel (double a)
virtual double activityLevel () const
virtual void setGain (double g)
 Set the input's gain.
virtual double gain () const
 Get the input's gain.
virtual void setIndex (int i)
virtual int index () const
virtual bool muted ()
virtual void setName (std::string name)
virtual const std::string & name () const
virtual void setRate (int r)
 Supported rates are (maybe hardware-dependent): 5, 8, 11, 16, 22, 44.
virtual int rate () const
 Supported rates are (maybe hardware-dependent): 5, 8, 11, 16, 22, 44.
virtual void setSilenceLevel (double s)
virtual double silenceLevel () const
virtual void setSilenceTimeout (int s)
virtual int silenceTimeout () const
virtual void setUseEchoSuppression (bool e)
virtual bool useEchoSuppression () const

Detailed Description

The main AudioInputGst class, which actually doesn't store too much important information (most of that is stored in the GnashAudio and GnashAudioPrivate classes).

The top part of this class implements the AudioInput interface, which is more or less what is needed to implement the rest, though it lacks any data-fetching methods. I'm not sure what the rest of it does, but it's not anything useful. Anyone implementing this class should start by implementing the interface.


Constructor & Destructor Documentation

gnash::media::gst::AudioInputGst::AudioInputGst (  ) 

This part implements the interface.

gnash::media::gst::AudioInputGst::~AudioInputGst (  )  [virtual]

Member Function Documentation

virtual double gnash::media::gst::AudioInputGst::activityLevel (  )  const [inline, virtual]
virtual double gnash::media::gst::AudioInputGst::gain (  )  const [inline, virtual]

Get the input's gain.

Interface range is 0..100, gst range is -60 to 60 TODO: shouldn't we query the value from the input rather than storing it here?

virtual int gnash::media::gst::AudioInputGst::index (  )  const [inline, virtual]
virtual bool gnash::media::gst::AudioInputGst::muted (  )  [inline, virtual]
virtual const std::string& gnash::media::gst::AudioInputGst::name (  )  const [inline, virtual]
virtual int gnash::media::gst::AudioInputGst::rate (  )  const [inline, virtual]

Supported rates are (maybe hardware-dependent): 5, 8, 11, 16, 22, 44.

TODO: store in device and query that.

Referenced by setRate().

virtual void gnash::media::gst::AudioInputGst::setActivityLevel ( double  a  )  [inline, virtual]
virtual void gnash::media::gst::AudioInputGst::setGain ( double  g  )  [inline, virtual]

Set the input's gain.

Interface range is 0..100, gst range is -60 to 60 TODO: shouldn't we set the value in the input rather than storing it here?

virtual void gnash::media::gst::AudioInputGst::setIndex ( int  i  )  [inline, virtual]
virtual void gnash::media::gst::AudioInputGst::setName ( std::string  name  )  [inline, virtual]
virtual void gnash::media::gst::AudioInputGst::setRate ( int  r  )  [inline, virtual]

Supported rates are (maybe hardware-dependent): 5, 8, 11, 16, 22, 44.

TODO: store in device and query that.

References rate().

virtual void gnash::media::gst::AudioInputGst::setSilenceLevel ( double  s  )  [inline, virtual]
virtual void gnash::media::gst::AudioInputGst::setSilenceTimeout ( int  s  )  [inline, virtual]
virtual void gnash::media::gst::AudioInputGst::setUseEchoSuppression ( bool  e  )  [inline, virtual]
virtual double gnash::media::gst::AudioInputGst::silenceLevel (  )  const [inline, virtual]
virtual int gnash::media::gst::AudioInputGst::silenceTimeout (  )  const [inline, virtual]
virtual bool gnash::media::gst::AudioInputGst::useEchoSuppression (  )  const [inline, virtual]

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