1
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
3
File: oct6100_adpcm_chan_inst.h
5
Copyright (c) 2001-2007 Octasic Inc.
9
File containing all defines, macros, and structures pertaining to the file
10
oct6100_adpcm_chan.c. All elements defined in this file are for public
11
usage of the API. All private elements are defined in the
12
oct6100_adpcm_chan_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: 6 $
32
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
34
#ifndef __OCT6100_ADPCM_CHAN_INST_H__
35
#define __OCT6100_ADPCM_CHAN_INST_H__
37
/***************************** INCLUDE FILES *******************************/
39
/***************************** DEFINES *************************************/
41
/***************************** TYPES ***************************************/
43
typedef struct _OCT6100_API_ADPCM_CHAN_
45
/* Flag specifying whether the entry is used or not. */
48
/* Count used to manage entry handles allocated to user. */
51
/* TSI chariot memory entry. */
54
/* ADPCM memory entry. */
55
UINT16 usAdpcmMemIndex;
57
/* Input and output timeslot information. */
58
UINT16 usInputTimeslot;
60
UINT8 byInputNumTssts;
63
UINT16 usOutputTimeslot;
64
UINT16 usOutputStream;
65
UINT8 byOutputNumTssts;
68
/* Internal info for quick access to structures associated to this TSI cnct. */
69
UINT16 usInputTsstIndex;
70
UINT16 usOutputTsstIndex;
72
} tOCT6100_API_ADPCM_CHAN, *tPOCT6100_API_ADPCM_CHAN;
74
#endif /* __OCT6100_ADPCM_CHAN_INST_H__ */