~ubuntu-branches/ubuntu/karmic/frozen-bubble/karmic

« back to all changes in this revision

Viewing changes to SDL_mixer_patched/native_midi/native_midi.h

  • Committer: Bazaar Package Importer
  • Author(s): Josselin Mouette
  • Date: 2004-07-08 17:22:16 UTC
  • mfrom: (2.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20040708172216-4e9erxuhsq7djmnd
Tags: 1.0.0-6
c_stuff/lib/FBLE.pm: fix to deal with new SDL_perl (closes: #257749).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
    native_midi:  Hardware Midi support for the SDL_mixer library
3
 
    Copyright (C) 2000  Florian 'Proff' Schulze
4
 
 
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.
9
 
 
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.
14
 
 
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
18
 
 
19
 
    Florian 'Proff' Schulze
20
 
    florian.proff.schulze@gmx.net
21
 
*/
22
 
 
23
 
#ifndef _NATIVE_MIDI_H_
24
 
#define _NATIVE_MIDI_H_
25
 
 
26
 
typedef struct _NativeMidiSong NativeMidiSong;
27
 
 
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();
36
 
 
37
 
#endif /* _NATIVE_MIDI_H_ */