timidity/timidity.h
author Sam Lantinga <slouken@libsdl.org>
Sat, 31 Dec 2011 10:27:48 -0500
changeset 518 8bc9b5fd2aae
parent 433 01f8ced21da6
child 521 565549e046b0
permissions -rw-r--r--
Happy New Year!
     1 /*
     2     TiMidity -- Experimental MIDI to WAVE converter
     3     Copyright (C) 1995 Tuukka Toivonen <toivonen@clinet.fi>
     4 
     5     This program is free software; you can redistribute it and/or modify
     6     it under the terms of the Perl Artistic License, available in COPYING.
     7  */
     8 
     9 typedef struct _MidiSong MidiSong;
    10 
    11 extern int Timidity_Init(int rate, int format, int channels, int samples);
    12 extern const char *Timidity_Error(void);
    13 extern void Timidity_SetVolume(int volume);
    14 extern int Timidity_PlaySome(void *stream, int samples);
    15 extern MidiSong *Timidity_LoadSong(const char *midifile);
    16 extern MidiSong *Timidity_LoadSong_RW(SDL_RWops *rw);
    17 extern void Timidity_Start(MidiSong *song);
    18 extern int Timidity_Active(void);
    19 extern void Timidity_Stop(void);
    20 extern void Timidity_FreeSong(MidiSong *song);
    21 extern void Timidity_Close(void);