1
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
3
File: oct6100_conf_bridge_inst.h
5
Copyright (c) 2001-2007 Octasic Inc.
9
File containing all defines, macros, and structures pertaining to the file
10
oct6100_conf_bridge.c. All elements defined in this file are for public
11
usage of the API. All private elements are defined in the
12
oct6100_conf_bridge_priv.h file.
14
This file is part of the Octasic OCT6100 GPL API . The OCT6100 GPL API is
15
free software; you can redistribute it and/or modify it under the terms of
16
the GNU General Public License as published by the Free Software Foundation;
17
either version 2 of the License, or (at your option) any later version.
19
The OCT6100 GPL API is distributed in the hope that it will be useful, but
20
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
21
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
24
You should have received a copy of the GNU General Public License
25
along with the OCT6100 GPL API; if not, write to the Free Software
26
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
28
$Octasic_Release: OCT612xAPI-01.00-PR49 $
30
$Octasic_Revision: 19 $
32
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
34
#ifndef __OCT6100_CONF_BRIDGE_INST_H__
35
#define __OCT6100_CONF_BRIDGE_INST_H__
37
/***************************** INCLUDE FILES *******************************/
40
/***************************** DEFINES *************************************/
43
/***************************** TYPES ***************************************/
45
typedef struct _OCT6100_API_CONF_BRIDGE_
47
/* Flag specifying whether the entry is used or not. */
50
/* Entry counter for the resources. */
53
/* Next bridge pointer. */
54
UINT16 usNextBridgePtr;
56
/* Previous bridge pointer. */
57
UINT16 usPrevBridgePtr;
59
/* Number of clients connected to the bridge. */
62
/* Store the index of the load event, to diffentiate him form the accumulate. */
65
/* Pointer to the first bridge events.*/
66
UINT16 usFirstLoadEventPtr;
67
UINT16 usFirstSubStoreEventPtr;
68
UINT16 usLastSubStoreEventPtr;
70
/* Pointer to the silence load event, if it exists. */
71
UINT16 usSilenceLoadEventPtr;
73
/* Flag specifying whether the dominant speaker is set or not. */
74
UINT16 usDominantSpeakerChanIndex;
75
UINT8 fDominantSpeakerSet;
77
/* Flag specifying if this is flexible conferencing bridge. */
78
UINT8 fFlexibleConferencing;
80
/* Number of clients being tapped. */
81
UINT16 usNumTappedClients;
83
} tOCT6100_API_CONF_BRIDGE, *tPOCT6100_API_CONF_BRIDGE;
85
typedef struct _OCT6100_API_FLEX_CONF_PARTICIPANT_
87
/* Input port of the conferencing for this participant. */
90
/* Whether the flexible mixer has been created. */
91
UINT8 fFlexibleMixerCreated;
93
/* Listener mask ( who can hear us ). */
94
UINT32 ulListenerMask;
96
/* Our index in the listener mask. */
97
UINT32 ulListenerMaskIndex;
99
/* Mixer event indexes for this participant's mixer. */
100
UINT16 ausLoadOrAccumulateEventIndex[ cOCT6100_MAX_FLEX_CONF_PARTICIPANTS_PER_BRIDGE ];
102
} tOCT6100_API_FLEX_CONF_PARTICIPANT, *tPOCT6100_API_FLEX_CONF_PARTICIPANT;
104
#endif /* __OCT6100_CONF_BRIDGE_INST_H__ */