diff libpurple/media.h @ 26047:1ce297c8923b

Added media functions to set input and output volume.
author Mike Ruprecht <maiku@soc.pidgin.im>
date Sat, 13 Dec 2008 08:37:57 +0000
parents aa50b1f05145
children 01df0829f054
line wrap: on
line diff
--- a/libpurple/media.h	Sat Dec 06 02:20:09 2008 +0000
+++ b/libpurple/media.h	Sat Dec 13 08:37:57 2008 +0000
@@ -479,6 +479,26 @@
  */
 void purple_media_mute(PurpleMedia *media, gboolean active);
 
+/**
+ * Sets the input volume of all the selected sessions.
+ *
+ * @param media The media object the sessions are in.
+ * @param session_id The session to select (if any).
+ * @param level The level to set the volume to.
+ */
+void purple_media_set_input_volume(PurpleMedia *media, const gchar *session_id, double level);
+
+/**
+ * Sets the output volume of all the selected streams.
+ *
+ * @param media The media object the streams are in.
+ * @param session_id The session to limit the streams to (if any).
+ * @param participant The participant to limit the streams to (if any).
+ * @param level The level to set the volume to.
+ */
+void purple_media_set_output_volume(PurpleMedia *media, const gchar *session_id,
+		const gchar *participant, double level);
+
 #ifdef __cplusplus
 }
 #endif