diff options
author | Jonny Lamb <jonnylamb@gnome.org> | 2011-08-01 20:48:32 +0800 |
---|---|---|
committer | Jonny Lamb <jonnylamb@gnome.org> | 2011-08-01 20:48:32 +0800 |
commit | 7876debb7bc9b6232817e68f00eb2d7484fd034a (patch) | |
tree | bd4ca2a3e5416d8668dc04acba1ce85d13f2b340 /src/empathy-audio-src.h | |
parent | 4651fb354e601f34dc9df08f2b506f765e455ead (diff) | |
parent | e17e6184ca30b2164e7b30d1a35f504b87973400 (diff) | |
download | gsoc2013-empathy-7876debb7bc9b6232817e68f00eb2d7484fd034a.tar gsoc2013-empathy-7876debb7bc9b6232817e68f00eb2d7484fd034a.tar.gz gsoc2013-empathy-7876debb7bc9b6232817e68f00eb2d7484fd034a.tar.bz2 gsoc2013-empathy-7876debb7bc9b6232817e68f00eb2d7484fd034a.tar.lz gsoc2013-empathy-7876debb7bc9b6232817e68f00eb2d7484fd034a.tar.xz gsoc2013-empathy-7876debb7bc9b6232817e68f00eb2d7484fd034a.tar.zst gsoc2013-empathy-7876debb7bc9b6232817e68f00eb2d7484fd034a.zip |
Merge branch 'change-audio'
Conflicts:
src/empathy-call-window.c
src/empathy-call-window.ui
Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
Diffstat (limited to 'src/empathy-audio-src.h')
-rw-r--r-- | src/empathy-audio-src.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/empathy-audio-src.h b/src/empathy-audio-src.h index 4bca31b61..05e3c46cc 100644 --- a/src/empathy-audio-src.h +++ b/src/empathy-audio-src.h @@ -23,6 +23,7 @@ #include <glib-object.h> #include <gst/gst.h> +#include <gio/gio.h> G_BEGIN_DECLS @@ -61,6 +62,26 @@ GstElement *empathy_audio_src_new (void); void empathy_audio_src_set_volume (EmpathyGstAudioSrc *src, gdouble volume); gdouble empathy_audio_src_get_volume (EmpathyGstAudioSrc *src); +typedef struct +{ + guint index; + gchar *name; + gchar *description; + gboolean is_monitor; +} EmpathyAudioSrcMicrophone; + +void empathy_audio_src_get_microphones_async (EmpathyGstAudioSrc *src, + GAsyncReadyCallback callback, gpointer user_data); +const GList * empathy_audio_src_get_microphones_finish (EmpathyGstAudioSrc *src, + GAsyncResult *result, GError **error); + +guint empathy_audio_src_get_microphone (EmpathyGstAudioSrc *src); + +void empathy_audio_src_change_microphone_async (EmpathyGstAudioSrc *src, + guint microphone, GAsyncReadyCallback callback, gpointer user_data); +gboolean empathy_audio_src_change_microphone_finish (EmpathyGstAudioSrc *src, + GAsyncResult *result, GError **error); + G_END_DECLS #endif /* #ifndef __EMPATHY_GST_AUDIO_SRC_H__*/ |