commit de lancement : 2.0.1-1
[asterisk-app-conference.git] / conf_frame.h
CommitLineData
c575c500
TN
1
2// $Id: conf_frame.h 880 2007-04-25 15:23:59Z jpgrayson $
3
4/*
5 * app_conference
6 *
7 * A channel independent conference application for Asterisk
8 *
9 * Copyright (C) 2002, 2003 Junghanns.NET GmbH
10 * Copyright (C) 2003, 2004 HorizonLive.com, Inc.
11 * Copyright (C) 2005, 2006 HorizonWimba, Inc.
12 * Copyright (C) 2007 Wimba, Inc.
13 *
14 * Klaus-Peter Junghanns <kapejod@ns1.jnetdns.de>
15 *
16 * Video Conferencing support added by
17 * Neil Stratford <neils@vipadia.com>
18 * Copyright (C) 2005, 2005 Vipadia Limited
19 *
20 * VAD driven video conferencing, text message support
21 * and miscellaneous enhancements added by
22 * Mihai Balea <mihai at hates dot ms>
23 *
24 * This program may be modified and distributed under the
25 * terms of the GNU General Public License. You should have received
26 * a copy of the GNU General Public License along with this
27 * program; if not, write to the Free Software Foundation, Inc.
28 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
29 */
30
31#ifndef _APP_CONF_STRUCTS_H
32#define _APP_CONF_STRUCTS_H
33
34//
35// includes
36//
37
38#include "app_conference.h"
39#include "common.h"
40
41//
42// struct declarations
43//
44
45typedef struct conf_frame
46{
47 // frame audio data
48 struct ast_frame* fr ;
49
50 // array of converted versions for listeners
51 struct ast_frame* converted[ AC_SUPPORTED_FORMATS ] ;
52
53 // pointer to the frame's owner
54 struct ast_conf_member* member ; // who sent this frame
55
56 // frame meta data
57// struct timeval timestamp ;
58// unsigned long cycleid ;
59// int priority ;
60
61 // linked-list pointers
62 struct conf_frame* next ;
63 struct conf_frame* prev ;
64
65 // should this frame be preserved
66 short static_frame ;
67
68 // pointer to mixing buffer
69 char* mixed_buffer ;
70} conf_frame ;
71
72
73#endif