Go to the documentation of this file.
20 #ifndef GNASH_AUDIOINPUTGST_H
21 #define GNASH_AUDIOINPUTGST_H
103 GstElement* _element;
112 gchar* _gstreamerSrc;
259 return _activityLevel;
268 assert (
g >= 0 &&
g <= 100);
270 audioChangeSourceBin(getGlobalAudio());
298 virtual const std::string&
name()
const {
return _name; }
309 audioChangeSourceBin(getGlobalAudio());
312 static const int rates[] = { 5, 8, 11, 16, 22, 44 };
313 const int*
rate = rates;
315 _rate = *
rate * 1000;
316 audioChangeSourceBin(getGlobalAudio());
331 return _silenceLevel;
339 return _silenceTimeout;
343 _useEchoSuppression =
e;
347 return _useEchoSuppression;
352 double _activityLevel;
358 double _silenceLevel;
360 bool _useEchoSuppression;
369 void findAudioDevs();
376 int makeAudioDevSelection();
384 void getSelectedCaps(
int devselect);
392 bool checkSupportedFormats(GstCaps *caps);
500 int getNumdevs()
const {
return _audioVect.size(); }
504 std::vector<GnashAudio*>* getAudioVect() {
return &_audioVect;}
511 double gstgain() {
return (
gain() - 50) * 1.2; }
520 std::vector<GnashAudio*> _audioVect;
@ l
Definition: GnashKey.h:158
@ d
Definition: GnashKey.h:150
void log_debug(StringType msg, Args... args)
Definition: log.h:301
@ i
Definition: GnashKey.h:155
#define _(String)
Definition: log.h:44
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:41
@ g
Definition: GnashKey.h:153
@ s
Definition: GnashKey.h:165
@ n
Definition: GnashKey.h:160
#define __FUNCTION__
Definition: log.h:437
void log_error(StringType msg, Args... args)
Definition: log.h:283
@ r
Definition: GnashKey.h:164
@ a
Definition: GnashKey.h:147
static RcInitFile & getDefaultInstance()
Return the default instance of RC file.
Definition: rc.cpp:61
@ e
Definition: GnashKey.h:151