~ubuntu-branches/ubuntu/quantal/zaptel/quantal

« back to all changes in this revision

Viewing changes to include/oct6100api/oct6100_adpcm_chan_pub.h

  • Committer: Bazaar Package Importer
  • Author(s): Mark Purcell
  • Date: 2006-10-24 22:41:01 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20061024224101-464p4n2jk16n1jrh
Tags: 1:1.2.10.dfsg-2
* bristuff-0.3.0-PRE-1v
* Remove redundant GPL LICENCE text

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
2
 
 
3
 
File:  oct6100_adpcm_chan_pub.h
4
 
 
5
 
    Copyright (c) 2001-2006 Octasic Inc.
6
 
    
7
 
Description: 
8
 
 
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.
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-PR43 $
29
 
 
30
 
$Octasic_Revision: 4 $
31
 
 
32
 
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
33
 
 
34
 
#ifndef __OCT6100_ADPCM_CHAN_PUB_H__
35
 
#define __OCT6100_ADPCM_CHAN_PUB_H__
36
 
 
37
 
/*****************************  INCLUDE FILES  *******************************/
38
 
 
39
 
 
40
 
/*****************************  DEFINES  *************************************/
41
 
 
42
 
 
43
 
/*****************************  TYPES  ***************************************/
44
 
 
45
 
typedef struct _OCT6100_ADPCM_CHAN_OPEN_
46
 
{
47
 
        PUINT32 pulChanHndl;
48
 
 
49
 
        UINT32  ulInputTimeslot;
50
 
        UINT32  ulInputStream;
51
 
        UINT32  ulInputNumTssts;
52
 
        UINT32  ulInputPcmLaw;
53
 
 
54
 
        UINT32  ulOutputTimeslot;
55
 
        UINT32  ulOutputStream;
56
 
        UINT32  ulOutputNumTssts;
57
 
        UINT32  ulOutputPcmLaw;
58
 
 
59
 
        UINT32  ulChanMode;                     /* Encoding or decoding. */
60
 
 
61
 
        UINT32  ulEncodingRate;
62
 
        UINT32  ulDecodingRate;         
63
 
 
64
 
        UINT32  ulAdpcmNibblePosition;
65
 
 
66
 
} tOCT6100_ADPCM_CHAN_OPEN, *tPOCT6100_ADPCM_CHAN_OPEN;
67
 
 
68
 
typedef struct _OCT6100_ADPCM_CHAN_CLOSE_
69
 
{
70
 
        UINT32  ulChanHndl;
71
 
 
72
 
} tOCT6100_ADPCM_CHAN_CLOSE, *tPOCT6100_ADPCM_CHAN_CLOSE;
73
 
 
74
 
 
75
 
/************************** FUNCTION PROTOTYPES  *****************************/
76
 
 
77
 
 
78
 
UINT32 Oct6100AdpcmChanOpenDef(
79
 
                                OUT             tPOCT6100_ADPCM_CHAN_OPEN                               f_pAdpcmChanOpen );
80
 
UINT32 Oct6100AdpcmChanOpen(
81
 
                                IN OUT  tPOCT6100_INSTANCE_API                                  f_pApiInstance,
82
 
                                IN OUT  tPOCT6100_ADPCM_CHAN_OPEN                               f_pAdpcmChanOpen );
83
 
 
84
 
UINT32 Oct6100AdpcmChanCloseDef(
85
 
                                OUT             tPOCT6100_ADPCM_CHAN_CLOSE                              f_pAdpcmChanClose );
86
 
UINT32 Oct6100AdpcmChanClose(
87
 
                                IN OUT  tPOCT6100_INSTANCE_API                                  f_pApiInstance,
88
 
                                IN OUT  tPOCT6100_ADPCM_CHAN_CLOSE                              f_pAdpcmChanClose );
89
 
 
90
 
#endif /* __OCT6100_ADPCM_CHAN_PUB_H__ */