1
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
3
File: oct6100_channel_priv.h
5
Copyright (c) 2001-2007 Octasic Inc.
9
File containing all private defines, macros, structures and prototypes
10
pertaining to the file oct6100_channel.c. All elements defined in this
11
file are for private usage of the API. All public elements are defined
12
in the oct6100_channel_pub.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: 62 $
32
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
34
#ifndef __OCT6100_CHANNEL_PRIV_H__
35
#define __OCT6100_CHANNEL_PRIV_H__
38
/***************************** INCLUDE FILES *******************************/
41
/***************************** DEFINES *************************************/
43
/* ECHO channel list pointer macros. */
44
#define mOCT6100_GET_CHANNEL_LIST_PNT( pSharedInfo, pList ) \
45
pList = ( tPOCT6100_API_CHANNEL )(( PUINT8 )pSharedInfo + pSharedInfo->ulChannelListOfst );
47
#define mOCT6100_GET_CHANNEL_ENTRY_PNT( pSharedInfo, pEntry, ulIndex ) \
48
pEntry = (( tPOCT6100_API_CHANNEL )(( PUINT8 )pSharedInfo + pSharedInfo->ulChannelListOfst)) + ulIndex;
50
#define mOCT6100_GET_CHANNEL_ALLOC_PNT( pSharedInfo, pAlloc ) \
51
pAlloc = ( PVOID )(( PUINT8 )pSharedInfo + pSharedInfo->ulChannelAllocOfst);
53
#define mOCT6100_GET_BIDIR_CHANNEL_LIST_PNT( pSharedInfo, pList ) \
54
pList = ( tPOCT6100_API_BIDIR_CHANNEL )(( PUINT8 )pSharedInfo + pSharedInfo->ulBiDirChannelListOfst );
56
#define mOCT6100_GET_BIDIR_CHANNEL_ENTRY_PNT( pSharedInfo, pEntry, ulIndex ) \
57
pEntry = (( tPOCT6100_API_BIDIR_CHANNEL )(( PUINT8 )pSharedInfo + pSharedInfo->ulBiDirChannelListOfst)) + ulIndex;
59
#define mOCT6100_GET_BIDIR_CHANNEL_ALLOC_PNT( pSharedInfo, pAlloc ) \
60
pAlloc = ( PVOID )(( PUINT8 )pSharedInfo + pSharedInfo->ulBiDirChannelAllocOfst );
63
/***************************** TYPES ***************************************/
65
typedef struct _OCT6100_API_ECHO_CHAN_INDEX_
67
/* Index of the channel in the API echo channel list.*/
68
UINT16 usEchoChanIndex;
70
/* TSI chariot memory entry for the Rin/Rout stream. */
71
UINT16 usRinRoutTsiMemIndex;
73
/* TSI chariot memory entry for the Sin/Sout stream. */
74
UINT16 usSinSoutTsiMemIndex;
76
/* SSPX memory entry. */
77
UINT16 usEchoMemIndex;
79
/* TDM sample conversion control memory entry. */
80
UINT16 usRinRoutConversionMemIndex;
81
UINT16 usSinSoutConversionMemIndex;
83
/* Internal info for quick access to structures associated to this TSI cnct. */
84
UINT16 usRinTsstIndex;
85
UINT16 usSinTsstIndex;
86
UINT16 usRoutTsstIndex;
87
UINT16 usSoutTsstIndex;
89
/* Index of the phasing TSST */
90
UINT16 usPhasingTsstIndex;
92
UINT8 fSinSoutCodecActive;
93
UINT8 fRinRoutCodecActive;
96
/* Extended Tone Detection resources.*/
97
UINT16 usExtToneChanIndex;
98
UINT16 usExtToneMixerIndex;
99
UINT16 usExtToneTsiIndex;
100
} tOCT6100_API_ECHO_CHAN_INDEX, *tPOCT6100_API_ECHO_CHAN_INDEX;
103
/************************** FUNCTION PROTOTYPES *****************************/
105
UINT32 Oct6100ApiGetChannelsEchoSwSizes(
106
IN tPOCT6100_CHIP_OPEN f_pOpenChip,
107
OUT tPOCT6100_API_INSTANCE_SIZES f_pInstSizes );
109
UINT32 Oct6100ApiChannelsEchoSwInit(
110
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance );
112
UINT32 Oct6100ChannelOpenSer(
113
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
114
IN OUT tPOCT6100_CHANNEL_OPEN f_pChannelOpen );
116
UINT32 Oct6100ApiCheckChannelParams(
117
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
118
IN OUT tPOCT6100_CHANNEL_OPEN f_pChannelOpen,
119
IN OUT tPOCT6100_API_ECHO_CHAN_INDEX f_pChanIndexConf );
121
UINT32 Oct6100ApiReserveChannelResources(
122
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
123
IN tPOCT6100_CHANNEL_OPEN f_pChannelOpen,
124
IN OUT tPOCT6100_API_ECHO_CHAN_INDEX f_pChanIndexConf );
126
UINT32 Oct6100ApiWriteChannelStructs(
127
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
128
IN tPOCT6100_CHANNEL_OPEN f_pChannelOpen,
129
IN tPOCT6100_API_ECHO_CHAN_INDEX f_pChanIndexConf );
131
UINT32 Oct6100ApiUpdateChannelEntry(
132
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
133
IN OUT tPOCT6100_CHANNEL_OPEN f_pChannelOpen,
134
IN tPOCT6100_API_ECHO_CHAN_INDEX f_pChanIndexConf );
136
UINT32 Oct6100ChannelCloseSer(
137
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
138
IN tPOCT6100_CHANNEL_CLOSE f_pChannelClose );
140
UINT32 Oct6100ApiAssertChannelParams(
141
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
142
IN tPOCT6100_CHANNEL_CLOSE f_pChannelClose,
144
IN OUT PUINT16 f_pusChanIndex );
146
UINT32 Oct6100ApiInvalidateChannelStructs(
147
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
149
IN UINT16 f_usChanIndex );
151
UINT32 Oct6100ApiReleaseChannelResources(
152
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
153
IN UINT16 f_usChannelIndex );
155
UINT32 Oct6100ChannelModifySer(
156
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
157
IN tPOCT6100_CHANNEL_MODIFY f_pChannelModify );
159
UINT32 Oct6100ApiCheckChannelModify(
160
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
161
IN tPOCT6100_CHANNEL_MODIFY f_pChannelModify,
162
IN OUT tPOCT6100_CHANNEL_OPEN f_pTempChanOpen,
163
OUT PUINT16 f_pusNewPhasingTsstIndex,
164
OUT PUINT16 f_pusChanIndex );
166
UINT32 Oct6100ApiModifyChannelResources(
167
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
168
IN tPOCT6100_CHANNEL_MODIFY f_pChannelModify,
169
IN UINT16 f_usChanIndex,
170
OUT PUINT16 f_pusNewRinTsstIndex,
171
OUT PUINT16 f_pusNewSinTsstIndex,
172
OUT PUINT16 f_pusNewRoutTsstIndex,
173
OUT PUINT16 f_pusNewSoutTsstIndex );
175
UINT32 Oct6100ApiModifyChannelStructs(
176
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
177
IN tPOCT6100_CHANNEL_MODIFY f_pChannelModify,
178
IN tPOCT6100_CHANNEL_OPEN f_pChannelOpen,
179
IN UINT16 f_usChanIndex,
180
IN UINT16 f_usNewPhasingTsstIndex,
181
OUT PUINT8 f_pfSinSoutCodecActive,
182
OUT PUINT8 f_pfRinRoutCodecActive,
183
IN UINT16 f_usNewRinTsstIndex,
184
IN UINT16 f_uslNewSinTsstIndex,
185
IN UINT16 f_usNewRoutTsstIndex,
186
IN UINT16 f_usNewSoutTsstIndex );
188
UINT32 Oct6100ApiModifyChannelEntry(
189
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
190
IN OUT tPOCT6100_CHANNEL_MODIFY f_pChannelModify,
191
IN tPOCT6100_CHANNEL_OPEN f_pChannelOpen,
192
IN UINT16 f_usChanIndex,
193
IN UINT16 f_usNewPhasingTsstIndex,
194
IN UINT8 f_fSinSoutCodecActive,
195
IN UINT8 f_fRinRoutCodecActive,
196
IN UINT16 f_usNewRinTsstIndex,
197
IN UINT16 f_usNewSinTsstIndex,
198
IN UINT16 f_usNewRoutTsstIndex,
199
IN UINT16 f_usNewSoutTsstIndex );
201
UINT32 Oct6100ChannelBroadcastTsstAddSer(
202
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
203
IN OUT tPOCT6100_CHANNEL_BROADCAST_TSST_ADD f_pChannelTsstAdd );
205
UINT32 Oct6100ApiCheckChanTsstAddParams(
206
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
207
IN tPOCT6100_CHANNEL_BROADCAST_TSST_ADD f_pChannelTsstRemove,
208
OUT PUINT16 f_pusChanIndex );
210
UINT32 Oct6100ApiReserveTsstAddResources(
211
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
212
IN tPOCT6100_CHANNEL_BROADCAST_TSST_ADD f_pChannelTsstRemove,
213
IN UINT16 f_usChanIndex,
214
OUT PUINT16 f_pusNewTsstIndex,
215
OUT PUINT16 f_pusNewTsstEntry );
217
UINT32 Oct6100ApiWriteTsstAddStructs(
218
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
219
IN tPOCT6100_CHANNEL_BROADCAST_TSST_ADD f_pChannelTsstRemove,
220
IN UINT16 f_usChanIndex,
221
IN UINT16 f_usNewTsstIndex );
223
UINT32 Oct6100ApiUpdateTsstAddChanEntry(
224
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
225
IN tPOCT6100_CHANNEL_BROADCAST_TSST_ADD f_pChannelTsstRemove,
226
IN UINT16 f_usChanIndex,
227
IN UINT16 f_usNewTsstIndex,
228
IN UINT16 f_usNewTsstEntry );
230
UINT32 Oct6100ChannelBroadcastTsstRemoveSer(
231
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
232
IN OUT tPOCT6100_CHANNEL_BROADCAST_TSST_REMOVE f_pChannelTsstRemove);
234
UINT32 Oct6100ApiAssertChanTsstRemoveParams(
235
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
236
IN tPOCT6100_CHANNEL_BROADCAST_TSST_REMOVE f_pChannelTsstRemove,
237
OUT PUINT16 f_pusChanIndex,
238
OUT PUINT16 f_pusTsstIndex,
239
OUT PUINT16 f_pusTsstEntry,
240
OUT PUINT16 f_pusPrevTsstEntry );
242
UINT32 Oct6100ApiInvalidateTsstRemoveStructs(
243
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
244
IN UINT16 f_usChanIndex,
245
IN UINT16 f_usTsstIndex,
247
IN BOOL f_fRemoveAll );
249
UINT32 Oct6100ApiReleaseTsstRemoveResources(
250
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
251
IN tPOCT6100_CHANNEL_BROADCAST_TSST_REMOVE f_pChannelTsstRemove,
252
IN UINT16 f_usChanIndex,
253
IN UINT16 f_usTsstIndex,
254
IN UINT16 f_usTsstEntry,
255
IN UINT16 f_usPrevTsstEntry );
257
UINT32 Oct6100ApiChannelGetStatsSer(
258
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
259
IN OUT tPOCT6100_CHANNEL_STATS f_pChannelStats );
261
UINT32 Oct6100ApiReserveEchoEntry(
262
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
263
OUT PUINT16 f_pusEchoIndex );
265
UINT32 Oct6100ApiReleaseEchoEntry(
266
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
267
IN UINT16 f_usEchoChanIndex );
269
UINT32 Oct6100ApiCheckTdmConfig(
270
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
271
IN tPOCT6100_CHANNEL_OPEN_TDM f_pTdmConfig );
273
UINT32 Oct6100ApiCheckVqeConfig(
274
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
275
IN tPOCT6100_CHANNEL_OPEN_VQE f_pVqeConfig,
276
IN BOOL f_fEnableToneDisabler );
278
UINT32 Oct6100ApiCheckCodecConfig(
279
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
280
IN tPOCT6100_CHANNEL_OPEN_CODEC f_pCodecConfig,
281
IN UINT32 f_ulDecoderNumTssts,
282
OUT PUINT16 f_pusPhasingTsstIndex );
284
UINT32 Oct6100ApiWriteInputTsstControlMemory(
285
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
286
IN UINT16 f_usTsstIndex,
287
IN UINT16 f_usTsiMemIndex,
288
IN UINT32 f_ulTsstInputLaw );
290
UINT32 Oct6100ApiWriteOutputTsstControlMemory(
291
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
292
IN UINT16 f_usTsstIndex,
293
IN UINT32 f_ulAdpcmNibblePosition,
294
IN UINT32 f_ulNumTssts,
295
IN UINT16 f_usTsiMemIndex );
297
UINT32 Oct6100ApiWriteEncoderMemory(
298
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
299
IN UINT32 f_ulEncoderIndex,
300
IN UINT32 f_ulCompType,
301
IN UINT16 f_usTsiMemIndex,
302
IN UINT32 f_ulEnableSilenceSuppression,
303
IN UINT32 f_ulAdpcmNibblePosition,
304
IN UINT16 f_usPhasingTsstIndex,
305
IN UINT32 f_ulPhasingType,
306
IN UINT32 f_ulPhase );
308
UINT32 Oct6100ApiWriteDecoderMemory(
309
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
310
IN UINT16 f_usDecoderIndex,
311
IN UINT32 f_ulCompType,
312
IN UINT16 f_usTsiMemIndex,
313
IN UINT32 f_ulPcmLaw,
314
IN UINT32 f_ulAdpcmNibblePosition );
317
UINT32 Oct6100ApiClearConversionMemory(
318
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
319
IN UINT16 f_usConversionMemIndex );
321
UINT32 Oct6100ApiWriteVqeMemory(
322
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
323
IN tPOCT6100_CHANNEL_OPEN_VQE f_pVqeConfig,
324
IN tPOCT6100_CHANNEL_OPEN f_pChannelOpen,
325
IN UINT16 f_usChanIndex,
326
IN UINT16 f_usEchoMemIndex,
327
IN BOOL f_fClearPlayoutPointers,
328
IN BOOL f_fModifyOnly );
330
UINT32 Oct6100ApiWriteVqeNlpMemory(
331
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
332
IN tPOCT6100_CHANNEL_OPEN_VQE f_pVqeConfig,
333
IN tPOCT6100_CHANNEL_OPEN f_pChannelOpen,
334
IN UINT16 f_usChanIndex,
335
IN UINT16 f_usEchoMemIndex,
336
IN BOOL f_fClearPlayoutPointers,
337
IN BOOL f_fModifyOnly );
339
UINT32 Oct6100ApiWriteVqeAfMemory(
340
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
341
IN tPOCT6100_CHANNEL_OPEN_VQE f_pVqeConfig,
342
IN tPOCT6100_CHANNEL_OPEN f_pChannelOpen,
343
IN UINT16 f_usChanIndex,
344
IN UINT16 f_usEchoMemIndex,
345
IN BOOL f_fClearPlayoutPointers,
346
IN BOOL f_fModifyOnly );
348
UINT32 Oct6100ApiWriteEchoMemory(
349
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
350
IN tPOCT6100_CHANNEL_OPEN_TDM f_pTdmConfig,
351
IN tPOCT6100_CHANNEL_OPEN f_pChannelOpen,
352
IN UINT16 f_usEchoIndex,
353
IN UINT16 f_usRinRoutTsiIndex,
354
IN UINT16 f_usSinSoutTsiIndex );
356
UINT32 Oct6100ApiUpdateOpenStruct(
357
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
358
IN tPOCT6100_CHANNEL_MODIFY f_pChanModify,
359
IN OUT tPOCT6100_CHANNEL_OPEN f_pChanOpen,
360
IN tPOCT6100_API_CHANNEL f_pChanEntry );
366
UINT32 Oct6100ApiRetrieveNlpConfDword(
367
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
368
IN tPOCT6100_API_CHANNEL f_pChanEntry,
369
IN UINT32 f_ulAddress,
370
OUT PUINT32 f_pulConfigDword );
372
UINT32 Oct6100ApiSaveNlpConfDword(
373
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
374
IN tPOCT6100_API_CHANNEL f_pChanEntry,
375
IN UINT32 f_ulAddress,
376
IN UINT32 f_ulConfigDword );
378
UINT32 Oct6100ChannelCreateBiDirSer(
379
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
380
IN OUT IN OUT tPOCT6100_CHANNEL_CREATE_BIDIR f_pChannelCreateBiDir );
382
UINT32 Oct6100ApiCheckChannelCreateBiDirParams(
383
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
384
IN tPOCT6100_CHANNEL_CREATE_BIDIR f_pChannelCreateBiDir,
385
OUT PUINT16 f_pusFirstChanIndex,
386
OUT PUINT16 f_pusFirstChanExtraTsiIndex,
387
OUT PUINT16 f_pusFirstChanSinCopyEventIndex,
388
OUT PUINT16 f_pusSecondChanIndex,
389
OUT PUINT16 f_pusSecondChanExtraTsiIndex,
390
OUT PUINT16 f_pusSecondChanSinCopyEventIndex
394
UINT32 Oct6100ApiReserveChannelCreateBiDirResources(
395
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
397
OUT PUINT16 f_pusBiDirChanIndex,
398
IN OUT PUINT16 f_pusFirstChanExtraTsiIndex,
399
IN OUT PUINT16 f_pusFirstChanSinCopyEventIndex,
400
OUT PUINT16 f_pusFirstChanSoutCopyEventIndex,
401
IN OUT PUINT16 f_pusSecondChanExtraTsiIndex,
402
IN OUT PUINT16 f_pusSecondChanSinCopyEventIndex,
403
OUT PUINT16 f_pusSecondChanSoutCopyEventIndex );
405
UINT32 Oct6100ApiWriteChannelCreateBiDirStructs(
406
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
408
IN UINT16 f_usFirstChanIndex,
409
IN UINT16 f_usFirstChanExtraTsiIndex,
410
IN UINT16 f_usFirstChanSinCopyEventIndex,
411
IN UINT16 f_usFirstChanSoutCopyEventIndex,
412
IN UINT16 f_usSecondChanIndex,
413
IN UINT16 f_usSecondChanExtraTsiIndex,
414
IN UINT16 f_usSecondChanSinCopyEventIndex,
415
IN UINT16 f_usSecondChanSoutCopyEventIndex );
417
UINT32 Oct6100ApiUpdateBiDirChannelEntry(
418
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
419
OUT tPOCT6100_CHANNEL_CREATE_BIDIR f_pChannelCreateBiDir,
420
IN UINT16 f_usBiDirChanIndex,
421
IN UINT16 f_usFirstChanIndex,
422
IN UINT16 f_usFirstChanExtraTsiIndex,
423
IN UINT16 f_usFirstChanSinCopyEventIndex,
424
IN UINT16 f_usFirstChanSoutCopyEventIndex,
425
IN UINT16 f_usSecondChanIndex,
426
IN UINT16 f_usSecondChanExtraTsiIndex,
427
IN UINT16 f_usSecondChanSinCopyEventIndex,
428
IN UINT16 f_usSecondChanSoutCopyEventIndex );
430
UINT32 Oct6100ChannelDestroyBiDirSer(
431
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
432
IN OUT tPOCT6100_CHANNEL_DESTROY_BIDIR f_pChannelDestroyBiDir );
434
UINT32 Oct6100ApiAssertDestroyBiDirChanParams(
435
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
436
IN tPOCT6100_CHANNEL_DESTROY_BIDIR f_pChannelDestroyBiDir,
437
IN OUT PUINT16 f_pusBiDirChanIndex,
439
IN OUT PUINT16 f_pusFirstChanIndex,
440
IN OUT PUINT16 f_pusSecondChanIndex );
442
UINT32 Oct6100ApiInvalidateBiDirChannelStructs(
443
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
445
IN UINT16 f_usFirstChanIndex,
446
IN UINT16 f_usSecondChanIndex );
448
UINT32 Oct6100ApiReleaseBiDirChannelResources(
449
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
450
IN UINT16 f_usBiDirChanIndex,
452
IN UINT16 f_usFirstChanIndex,
453
IN UINT16 f_usSecondChanIndex );
455
UINT32 Oct6100ApiWriteDebugChanMemory(
456
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
457
IN tPOCT6100_CHANNEL_OPEN_TDM f_pTdmConfig,
458
IN tPOCT6100_CHANNEL_OPEN_VQE f_pVqeConfig,
459
IN tPOCT6100_CHANNEL_OPEN f_pChannelOpen,
460
IN UINT16 f_usChanIndex,
461
IN UINT16 f_usEchoMemIndex,
462
IN UINT16 f_usRinRoutTsiIndex,
463
IN UINT16 f_usSinSoutTsiIndex );
465
UINT32 Oct6100ApiDebugChannelOpen(
466
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance );
468
UINT32 Oct6100ApiMutePorts(
469
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
470
IN UINT16 f_usEchoIndex,
471
IN UINT16 f_usRinTsstIndex,
472
IN UINT16 f_usSinTsstIndex,
473
IN BOOL f_fCheckBridgeIndex );
475
UINT32 Oct6100ApiSetChannelLevelControl(
476
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
477
IN tPOCT6100_CHANNEL_OPEN_VQE f_pVqeConfig,
478
IN UINT16 f_usChanIndex,
479
IN UINT16 f_usEchoMemIndex,
480
IN BOOL f_fClearAlcHlcStatusBit );
482
UINT32 Oct6100ApiSetChannelTailConfiguration(
483
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
484
IN tPOCT6100_CHANNEL_OPEN_VQE f_pVqeConfig,
485
IN UINT16 f_usChanIndex,
486
IN UINT16 f_usEchoMemIndex,
487
IN BOOL f_fModifyOnly );
489
UINT32 Oct6100ChannelMuteSer(
490
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
491
IN tPOCT6100_CHANNEL_MUTE f_pChannelMute );
493
UINT32 Oct6100ApiAssertChannelMuteParams(
494
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
495
IN tPOCT6100_CHANNEL_MUTE f_pChannelMute,
496
OUT PUINT16 f_pusChanIndex,
497
OUT PUINT16 f_pusPorts );
499
UINT32 Oct6100ChannelUnMuteSer(
500
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
501
IN tPOCT6100_CHANNEL_UNMUTE f_pChannelUnMute );
503
UINT32 Oct6100ApiAssertChannelUnMuteParams(
504
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
505
IN tPOCT6100_CHANNEL_UNMUTE f_pChannelUnMute,
506
OUT PUINT16 f_pusChanIndex,
507
OUT PUINT16 f_pusPorts );
509
UINT32 Oct6100ApiMuteSinWithFeatures(
510
IN tPOCT6100_INSTANCE_API f_pApiInstance,
511
IN UINT16 f_usChanIndex,
512
IN BOOL f_fEnableSinWithFeatures );
514
UINT32 Oct6100ApiMuteChannelPorts(
515
IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
516
IN UINT16 f_usChanIndex,
517
IN UINT16 f_usPortMask,
520
INT32 Oct6100ApiOctFloatToDbEnergyByte(
523
INT32 Oct6100ApiOctFloatToDbEnergyHalf(
526
UINT16 Oct6100ApiDbAmpHalfToOctFloat(
529
#endif /* __OCT6100_CHANNEL_PRIV_H__ */