Mercurial > pidgin
annotate src/mediastreamer/ms.h @ 12662:eb4841fa697c
[gaim-migrate @ 15005]
sf bug #1385691, Text field visible even when status set to "online"
Don't allow available messages for ICQ. The server doesn't support them.
committer: Tailor Script <tailor@pidgin.im>
| author | Mark Doliner <mark@kingant.net> |
|---|---|
| date | Mon, 26 Dec 2005 07:43:41 +0000 |
| parents | fc464a0abccc |
| children |
| rev | line source |
|---|---|
| 12024 | 1 /* |
| 2 The mediastreamer library aims at providing modular media processing and I/O | |
| 3 for linphone, but also for any telephony application. | |
| 4 Copyright (C) 2001 Simon MORLAT simon.morlat@linphone.org | |
| 5 | |
| 6 This library is free software; you can redistribute it and/or | |
| 7 modify it under the terms of the GNU Lesser General Public | |
| 8 License as published by the Free Software Foundation; either | |
| 9 version 2.1 of the License, or (at your option) any later version. | |
| 10 | |
| 11 This library is distributed in the hope that it will be useful, | |
| 12 but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 14 Lesser General Public License for more details. | |
| 15 | |
| 16 You should have received a copy of the GNU Lesser General Public | |
| 17 License along with this library; if not, write to the Free Software | |
| 18 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 19 */ | |
| 20 | |
| 21 | |
| 22 | |
| 23 #ifndef MS_H | |
| 24 #define MS_H | |
| 25 #include "msfilter.h" | |
| 26 #include "mssync.h" | |
| 27 | |
| 28 | |
|
12323
fc464a0abccc
[gaim-migrate @ 14627]
Richard Laager <rlaager@wiktel.com>
parents:
12024
diff
changeset
|
29 void ms_init(void); |
| 12024 | 30 |
| 31 /* compile graphs attached to a sync source*/ | |
| 32 int ms_compile(MSSync *source); | |
| 33 | |
| 34 | |
| 35 /* stop the processing chain attached to a sync source.*/ | |
| 36 void ms_thread_stop(MSSync *sync); | |
| 37 | |
| 38 | |
| 39 /** | |
| 40 * function_name:ms_thread_run | |
| 41 * @sync: The synchronization source for all the set of graphs to run. | |
| 42 * | |
| 43 * Execute the processing chain attached to a sync source. This function loops indefinitely. | |
| 44 * The media streamer programmer can choose to execute this function directly, or to call ms_start(), | |
| 45 * that will start a thread for the synchronisation source. | |
| 46 * | |
| 47 * Returns: no return value. | |
| 48 */ | |
| 49 void *ms_thread_run(void *sync); | |
| 50 | |
| 51 | |
| 52 /** | |
| 53 * function_name:ms_start | |
| 54 * @sync: A synchronisation source to be started. | |
| 55 * | |
| 56 * Starts a thread that will shedule all processing chains attached to the synchronisation source @sync. | |
| 57 * | |
| 58 * Returns: no return value. | |
| 59 */ | |
| 60 void ms_start(MSSync *sync); | |
| 61 | |
| 62 | |
| 63 /** | |
| 64 * function_name:ms_stop | |
| 65 * @sync: A synchronisation source to be stopped. | |
| 66 * | |
| 67 * Stop the thread that was sheduling the processing chains attached to the synchronisation source @sync. | |
| 68 * The processing chains are kept unchanged, no object is freed. The synchronisation source can be restarted using ms_start(). | |
| 69 * | |
| 70 * Returns: no return value. | |
| 71 */ | |
| 72 void ms_stop(MSSync *sync); | |
| 73 | |
| 74 | |
| 75 gchar * ms_proc_get_param(gchar *parameter); | |
|
12323
fc464a0abccc
[gaim-migrate @ 14627]
Richard Laager <rlaager@wiktel.com>
parents:
12024
diff
changeset
|
76 gint ms_proc_get_type(void); |
|
fc464a0abccc
[gaim-migrate @ 14627]
Richard Laager <rlaager@wiktel.com>
parents:
12024
diff
changeset
|
77 gint ms_proc_get_speed(void); |
| 12024 | 78 |
| 79 | |
| 80 | |
| 81 #endif |
