1 /*(LGPL)
2 ---------------------------------------------------------------------------
3 	a_struct.h - Audio Engine internal structures
4 ---------------------------------------------------------------------------
5  * Copyright (C) 2001, 2002, David Olofson
6  *
7  * This program is free software; you can redistribute it and/or modify it
8  * under the terms of the GNU Lesser General Public License as published by
9  * the Free Software Foundation; either version 2.1 of the License, or (at
10  * your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful, but
13  * WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15  * Lesser General Public License for more details.
16  *
17  * You should have received a copy of the GNU Lesser General Public License
18  * along with this program; if not, write to the Free Software Foundation,
19  * Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20  */
21 
22 #ifndef _A_STRUCT_H_
23 #define _A_STRUCT_H_
24 
25 #include "a_wave.h"
26 #include "a_patch.h"
27 #include "a_channel.h"
28 #include "a_voice.h"
29 #include "a_bus.h"
30 
31 /*----------------------------------------------------------
32 	Engine Global Data
33 ----------------------------------------------------------*/
34 extern audio_wave_t wavetab[AUDIO_MAX_WAVES];
35 extern audio_patch_t patchtab[AUDIO_MAX_PATCHES];
36 extern audio_group_t grouptab[AUDIO_MAX_GROUPS];
37 extern audio_channel_t channeltab[AUDIO_MAX_CHANNELS];
38 extern audio_voice_t voicetab[AUDIO_MAX_VOICES];
39 extern audio_bus_t bustab[AUDIO_MAX_BUSSES];
40 
41 void _audio_init(void);
42 
43 #endif /*_A_STRUCT_H_*/
44