| 1 |
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ |
| 2 |
|
| 3 |
File: oct6100_conf_bridge_inst.h |
| 4 |
|
| 5 |
Copyright (c) 2001-2007 Octasic Inc. |
| 6 |
|
| 7 |
Description: |
| 8 |
|
| 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. |
| 13 |
|
| 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. |
| 18 |
|
| 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 |
| 22 |
for more details. |
| 23 |
|
| 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. |
| 27 |
|
| 28 |
$Octasic_Release: OCT612xAPI-01.00-PR49 $ |
| 29 |
|
| 30 |
$Octasic_Revision: 19 $ |
| 31 |
|
| 32 |
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ |
| 33 |
|
| 34 |
#ifndef __OCT6100_CONF_BRIDGE_INST_H__ |
| 35 |
#define __OCT6100_CONF_BRIDGE_INST_H__ |
| 36 |
|
| 37 |
/***************************** INCLUDE FILES *******************************/ |
| 38 |
|
| 39 |
|
| 40 |
/***************************** DEFINES *************************************/ |
| 41 |
|
| 42 |
|
| 43 |
/***************************** TYPES ***************************************/ |
| 44 |
|
| 45 |
typedef struct _OCT6100_API_CONF_BRIDGE_ |
| 46 |
{ |
| 47 |
/* Flag specifying whether the entry is used or not. */ |
| 48 |
UINT8 fReserved; |
| 49 |
|
| 50 |
/* Entry counter for the resources. */ |
| 51 |
UINT8 byEntryOpenCnt; |
| 52 |
|
| 53 |
/* Next bridge pointer. */ |
| 54 |
UINT16 usNextBridgePtr; |
| 55 |
|
| 56 |
/* Previous bridge pointer. */ |
| 57 |
UINT16 usPrevBridgePtr; |
| 58 |
|
| 59 |
/* Number of clients connected to the bridge. */ |
| 60 |
UINT16 usNumClients; |
| 61 |
|
| 62 |
/* Store the index of the load event, to diffentiate him form the accumulate. */ |
| 63 |
UINT16 usLoadIndex; |
| 64 |
|
| 65 |
/* Pointer to the first bridge events.*/ |
| 66 |
UINT16 usFirstLoadEventPtr; |
| 67 |
UINT16 usFirstSubStoreEventPtr; |
| 68 |
UINT16 usLastSubStoreEventPtr; |
| 69 |
|
| 70 |
/* Pointer to the silence load event, if it exists. */ |
| 71 |
UINT16 usSilenceLoadEventPtr; |
| 72 |
|
| 73 |
/* Flag specifying whether the dominant speaker is set or not. */ |
| 74 |
UINT16 usDominantSpeakerChanIndex; |
| 75 |
UINT8 fDominantSpeakerSet; |
| 76 |
|
| 77 |
/* Flag specifying if this is flexible conferencing bridge. */ |
| 78 |
UINT8 fFlexibleConferencing; |
| 79 |
|
| 80 |
/* Number of clients being tapped. */ |
| 81 |
UINT16 usNumTappedClients; |
| 82 |
|
| 83 |
} tOCT6100_API_CONF_BRIDGE, *tPOCT6100_API_CONF_BRIDGE; |
| 84 |
|
| 85 |
typedef struct _OCT6100_API_FLEX_CONF_PARTICIPANT_ |
| 86 |
{ |
| 87 |
/* Input port of the conferencing for this participant. */ |
| 88 |
UINT32 ulInputPort; |
| 89 |
|
| 90 |
/* Whether the flexible mixer has been created. */ |
| 91 |
UINT8 fFlexibleMixerCreated; |
| 92 |
|
| 93 |
/* Listener mask ( who can hear us ). */ |
| 94 |
UINT32 ulListenerMask; |
| 95 |
|
| 96 |
/* Our index in the listener mask. */ |
| 97 |
UINT32 ulListenerMaskIndex; |
| 98 |
|
| 99 |
/* Mixer event indexes for this participant's mixer. */ |
| 100 |
UINT16 ausLoadOrAccumulateEventIndex[ cOCT6100_MAX_FLEX_CONF_PARTICIPANTS_PER_BRIDGE ]; |
| 101 |
|
| 102 |
} tOCT6100_API_FLEX_CONF_PARTICIPANT, *tPOCT6100_API_FLEX_CONF_PARTICIPANT; |
| 103 |
|
| 104 |
#endif /* __OCT6100_CONF_BRIDGE_INST_H__ */ |