1 /*----------------------------------------------------------------------------
2  *
3  * File:
4  * eas_smfdata.c
5  *
6  * Contents and purpose:
7  * SMF File Parser
8  *
9  * This file contains data definitions for the SMF parser.
10  *
11  * Copyright Sonic Network Inc. 2005
12 
13  * Licensed under the Apache License, Version 2.0 (the "License");
14  * you may not use this file except in compliance with the License.
15  * You may obtain a copy of the License at
16  *
17  *      http://www.apache.org/licenses/LICENSE-2.0
18  *
19  * Unless required by applicable law or agreed to in writing, software
20  * distributed under the License is distributed on an "AS IS" BASIS,
21  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
22  * See the License for the specific language governing permissions and
23  * limitations under the License.
24  *
25  *----------------------------------------------------------------------------
26  * Revision Control:
27  *   $Revision: 778 $
28  *   $Date: 2007-07-23 16:45:17 -0700 (Mon, 23 Jul 2007) $
29  *----------------------------------------------------------------------------
30 */
31 
32 #include "eas_miditypes.h"
33 #include "eas_smfdata.h"
34 
35 /*----------------------------------------------------------------------------
36  *
37  * S_SMF_STREAM
38  *
39  * Static memory allocation for SMF parser
40  *----------------------------------------------------------------------------
41 */
42 static S_SMF_STREAM eas_SMFStreams[MAX_SMF_STREAMS];
43 
44 /*----------------------------------------------------------------------------
45  *
46  * eas_SMFData
47  *
48  * Static memory allocation for SMF parser
49  *----------------------------------------------------------------------------
50 */
51 S_SMF_DATA eas_SMFData =
52 {
53     eas_SMFStreams,     /* pointer to individual streams in file */
54     0,                  /* pointer to next stream with event */
55     0,                  /* pointer to synth */
56     0,                  /* file handle */
57     { 0, 0, 0, 0},      /* metadata callback */
58     0,                  /* file offset */
59     0,                  /* current time in milliseconds/256 */
60     0,                  /* actual number of streams */
61     0,                  /* current MIDI tick to msec conversion */
62     0,                  /* ticks per quarter note */
63     0,                  /* current state EAS_STATE_XXXX */
64     0                   /* flags */
65 };
66 
67