timidity/timidity.h
changeset 421 de784f36729a
parent 265 26629b8f3106
child 433 01f8ced21da6
equal deleted inserted replaced
420:2594a266fc8b 421:de784f36729a
    20 */
    20 */
    21 
    21 
    22 typedef struct _MidiSong MidiSong;
    22 typedef struct _MidiSong MidiSong;
    23 
    23 
    24 extern int Timidity_Init(int rate, int format, int channels, int samples);
    24 extern int Timidity_Init(int rate, int format, int channels, int samples);
    25 extern char *Timidity_Error(void);
    25 extern const char *Timidity_Error(void);
    26 extern void Timidity_SetVolume(int volume);
    26 extern void Timidity_SetVolume(int volume);
    27 extern int Timidity_PlaySome(void *stream, int samples);
    27 extern int Timidity_PlaySome(void *stream, int samples);
    28 extern MidiSong *Timidity_LoadSong(char *midifile);
    28 extern MidiSong *Timidity_LoadSong(char *midifile);
    29 extern MidiSong *Timidity_LoadSong_RW(SDL_RWops *rw);
    29 extern MidiSong *Timidity_LoadSong_RW(SDL_RWops *rw);
    30 extern void Timidity_Start(MidiSong *song);
    30 extern void Timidity_Start(MidiSong *song);