Fix an incorrect call to soup_message_set_request.
[pidgin-git.git] / libpurple / media / backend-fs2.h
blobbd8e3e1d59c88261bc0c00c2cdf661f6ea9ffd0d
1 /* purple
3 * Purple is the legal property of its developers, whose names are too numerous
4 * to list here. Please refer to the COPYRIGHT file distributed with this
5 * source distribution.
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
22 #ifndef PURPLE_MEDIA_BACKEND_FS2_H
23 #define PURPLE_MEDIA_BACKEND_FS2_H
25 * SECTION:backend-fs2
26 * @section_id: libpurple-backend-fs2
27 * @short_description: <filename>media/backend-fs2.h</filename>
28 * @title: Farstream backend for media API
30 * This file should not yet be part of libpurple's API.
31 * It should remain internal only for now.
34 #include <glib-object.h>
36 G_BEGIN_DECLS
38 #define PURPLE_TYPE_MEDIA_BACKEND_FS2 purple_media_backend_fs2_get_type()
40 /**
41 * purple_media_backend_fs2_get_type:
43 * Gets the type of the Farstream media backend object.
45 * Returns: The Farstream media backend's GType
47 G_DECLARE_FINAL_TYPE(PurpleMediaBackendFs2, purple_media_backend_fs2,
48 PURPLE, MEDIA_BACKEND_FS2, GObject)
51 * Temporary function in order to be able to test while
52 * integrating with PurpleMedia
54 #include <gst/gst.h>
55 GstElement *purple_media_backend_fs2_get_src(
56 PurpleMediaBackendFs2 *self,
57 const gchar *sess_id);
58 GstElement *purple_media_backend_fs2_get_tee(
59 PurpleMediaBackendFs2 *self,
60 const gchar *sess_id, const gchar *who);
61 void purple_media_backend_fs2_set_input_volume(PurpleMediaBackendFs2 *self,
62 const gchar *sess_id, double level);
63 void purple_media_backend_fs2_set_output_volume(PurpleMediaBackendFs2 *self,
64 const gchar *sess_id, const gchar *who, double level);
65 /* end tmp */
67 G_END_DECLS
69 #endif /* PURPLE_MEDIA_BACKEND_FS2_H */