aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-audio-src.h
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2011-07-26 21:27:33 +0800
committerJonny Lamb <jonny.lamb@collabora.co.uk>2011-07-28 16:34:47 +0800
commit7212c6e568aab0c729c9334b0b7a82e7eb33597d (patch)
tree6eb15978287093700f3abe8b67d9e2a5dfde99f7 /src/empathy-audio-src.h
parent2b922c7d744be1bd46f67215a8fb5b1eec6377c0 (diff)
downloadgsoc2013-empathy-7212c6e568aab0c729c9334b0b7a82e7eb33597d.tar
gsoc2013-empathy-7212c6e568aab0c729c9334b0b7a82e7eb33597d.tar.gz
gsoc2013-empathy-7212c6e568aab0c729c9334b0b7a82e7eb33597d.tar.bz2
gsoc2013-empathy-7212c6e568aab0c729c9334b0b7a82e7eb33597d.tar.lz
gsoc2013-empathy-7212c6e568aab0c729c9334b0b7a82e7eb33597d.tar.xz
gsoc2013-empathy-7212c6e568aab0c729c9334b0b7a82e7eb33597d.tar.zst
gsoc2013-empathy-7212c6e568aab0c729c9334b0b7a82e7eb33597d.zip
audio-src: add API to query available microphones
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
Diffstat (limited to 'src/empathy-audio-src.h')
-rw-r--r--src/empathy-audio-src.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/empathy-audio-src.h b/src/empathy-audio-src.h
index 4bca31b61..c5887237f 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,17 @@ 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 *description;
+} 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);
+
G_END_DECLS
#endif /* #ifndef __EMPATHY_GST_AUDIO_SRC_H__*/