timidity/timidity.h
changeset 0 4ce2db4db959
child 264 e62571f9bcbf
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/timidity/timidity.h	Thu Oct 21 18:02:08 1999 +0000
     1.3 @@ -0,0 +1,33 @@
     1.4 +/*
     1.5 +
     1.6 +    TiMidity -- Experimental MIDI to WAVE converter
     1.7 +    Copyright (C) 1995 Tuukka Toivonen <toivonen@clinet.fi>
     1.8 +
     1.9 +	 This program is free software; you can redistribute it and/or modify
    1.10 +	 it under the terms of the GNU General Public License as published by
    1.11 +    the Free Software Foundation; either version 2 of the License, or
    1.12 +	 (at your option) any later version.
    1.13 +
    1.14 +    This program is distributed in the hope that it will be useful,
    1.15 +    but WITHOUT ANY WARRANTY; without even the implied warranty of
    1.16 +    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    1.17 +	 GNU General Public License for more details.
    1.18 +
    1.19 +    You should have received a copy of the GNU General Public License
    1.20 +    along with this program; if not, write to the Free Software
    1.21 +    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
    1.22 +
    1.23 +*/
    1.24 +
    1.25 +typedef struct _MidiSong MidiSong;
    1.26 +
    1.27 +extern int Timidity_Init(int rate, int format, int channels, int samples);
    1.28 +extern char *Timidity_Error(void);
    1.29 +extern void Timidity_SetVolume(int volume);
    1.30 +extern int Timidity_PlaySome(void *stream, int samples);
    1.31 +extern MidiSong *Timidity_LoadSong(char *midifile);
    1.32 +extern void Timidity_Start(MidiSong *song);
    1.33 +extern int Timidity_Active(void);
    1.34 +extern void Timidity_Stop(void);
    1.35 +extern void Timidity_FreeSong(MidiSong *song);
    1.36 +