Debian Codegraph @

xpp/oct612x/include/oct6100api/oct6100_mixer_inst.h

raw
1 /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
2
3 File: oct6100_mixer_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_mixer.c. All elements defined in this file are for public
11 usage of the API. All private elements are defined in the
12 oct6100_mixer_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: 13 $
31
32 \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
33
34 #ifndef __OCT6100_MIXER_INST_H__
35 #define __OCT6100_MIXER_INST_H__
36
37 /***************************** INCLUDE FILES *******************************/
38
39
40 /***************************** DEFINES *************************************/
41
42
43 /***************************** TYPES ***************************************/
44
45 typedef struct _OCT6100_API_MIXER_EVENT_
46 {
47 /* Flag specifying whether the entry is used or not. */
48 UINT8 fReserved;
49
50 /* Type of the event.*/
51 UINT16 usEventType;
52
53 /* Source channel index */
54 UINT16 usSourceChanIndex;
55
56 /* Destination channel index */
57 UINT16 usDestinationChanIndex;
58
59 /* Pointer to the next entry.*/
60 UINT16 usNextEventPtr;
61
62 } tOCT6100_API_MIXER_EVENT, *tPOCT6100_API_MIXER_EVENT;
63
64
65 typedef struct _OCT6100_API_COPY_EVENT_
66 {
67 /* Flag specifying whether the entry is used or not. */
68 UINT8 fReserved;
69
70 /* Count used to manage entry handles allocated to user. */
71 UINT8 byEntryOpenCnt;
72
73 /* Source + destination ports. */
74 UINT8 bySourcePort;
75 UINT8 byDestinationPort;
76
77 /* Index of the channels associated to this event.*/
78 UINT16 usSourceChanIndex;
79 UINT16 usDestinationChanIndex;
80
81 UINT16 usMixerEventIndex;
82
83 } tOCT6100_API_COPY_EVENT, *tPOCT6100_API_COPY_EVENT;
84
85
86 #endif /* __OCT6100_MIXER_INST_H__ */