2
native_midi: Hardware Midi support for the SDL_mixer library
3
Copyright (C) 2000 Florian 'Proff' Schulze
5
This library is free software; you can redistribute it and/or
6
modify it under the terms of the GNU Library General Public
7
License as published by the Free Software Foundation; either
8
version 2 of the License, or (at your option) any later version.
10
This library is distributed in the hope that it will be useful,
11
but WITHOUT ANY WARRANTY; without even the implied warranty of
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
Library General Public License for more details.
15
You should have received a copy of the GNU Library General Public
16
License along with this library; if not, write to the Free
17
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19
Florian 'Proff' Schulze
20
florian.proff.schulze@gmx.net
23
#ifndef _NATIVE_MIDI_H_
24
#define _NATIVE_MIDI_H_
26
typedef struct _NativeMidiSong NativeMidiSong;
28
int native_midi_detect();
29
NativeMidiSong *native_midi_loadsong(char *midifile);
30
void native_midi_freesong(NativeMidiSong *song);
31
void native_midi_start(NativeMidiSong *song);
32
void native_midi_stop();
33
int native_midi_active();
34
void native_midi_setvolume(int volume);
35
char *native_midi_error();
37
#endif /* _NATIVE_MIDI_H_ */