timidity/timidity.h
author Sam Lantinga <slouken@libsdl.org>
Sat, 01 Jun 2013 22:30:04 -0700
changeset 627 438fb12df34f
parent 542 3de4970b36d4
child 782 e7d3a8f73e88
permissions -rw-r--r--
Updated iOS project to include OGG support directly
     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_RW(SDL_RWops *rw, int freerw);
    16 extern void Timidity_Start(MidiSong *song);
    17 extern int Timidity_Active(void);
    18 extern void Timidity_Stop(void);
    19 extern void Timidity_FreeSong(MidiSong *song);
    20 extern void Timidity_Close(void);