1 /*(LGPL)
2 ---------------------------------------------------------------------------
3 	a_midicon.h - Engine MIDI Control Implementation
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_MIDICON_H_
23 #define _A_MIDICON_H_
24 
25 #include "a_midisock.h"
26 
27 int midicon_open(float framerate, int first_ch);
28 void midicon_close(void);
29 
30 void midicon_process(unsigned frames);
31 
32 /* Send MIDI messages here. */
33 extern midisock_t midicon_midisock;
34 
35 #endif /*_A_MIDICON_H_*/
36