aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-audio-src.h
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2011-07-27 18:54:52 +0800
committerJonny Lamb <jonny.lamb@collabora.co.uk>2011-07-29 18:02:01 +0800
commit1de1a894194a0fa355ef382783fa54f25ddca75c (patch)
treea95adc44663712ce733050e2f6434cd041122d54 /src/empathy-audio-src.h
parent2223a2eb1e505b857ad13a44bc888149dc3f0334 (diff)
downloadgsoc2013-empathy-1de1a894194a0fa355ef382783fa54f25ddca75c.tar
gsoc2013-empathy-1de1a894194a0fa355ef382783fa54f25ddca75c.tar.gz
gsoc2013-empathy-1de1a894194a0fa355ef382783fa54f25ddca75c.tar.bz2
gsoc2013-empathy-1de1a894194a0fa355ef382783fa54f25ddca75c.tar.lz
gsoc2013-empathy-1de1a894194a0fa355ef382783fa54f25ddca75c.tar.xz
gsoc2013-empathy-1de1a894194a0fa355ef382783fa54f25ddca75c.tar.zst
gsoc2013-empathy-1de1a894194a0fa355ef382783fa54f25ddca75c.zip
audio-src: add API for getting the mic source ID
Also listen out for changes in the source output ID (but that'll only happen if we go READY -> NULL -> READY again). 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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/empathy-audio-src.h b/src/empathy-audio-src.h
index c65f3696a..286a34f9a 100644
--- a/src/empathy-audio-src.h
+++ b/src/empathy-audio-src.h
@@ -74,6 +74,8 @@ void empathy_audio_src_get_microphones_async (EmpathyGstAudioSrc *src,
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,