Mercurial > SDL_sound_CoreAudio
comparison decoders/midi.c @ 149:1df5c106504e
Decoders can now list multiple file extensions.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Thu, 01 Nov 2001 19:13:17 +0000 |
parents | 70baf29577d8 |
children | 47cc2de2ae36 |
comparison
equal
deleted
inserted
replaced
148:d51546293fd1 | 149:1df5c106504e |
---|---|
67 static void MIDI_quit(void); | 67 static void MIDI_quit(void); |
68 static int MIDI_open(Sound_Sample *sample, const char *ext); | 68 static int MIDI_open(Sound_Sample *sample, const char *ext); |
69 static void MIDI_close(Sound_Sample *sample); | 69 static void MIDI_close(Sound_Sample *sample); |
70 static Uint32 MIDI_read(Sound_Sample *sample); | 70 static Uint32 MIDI_read(Sound_Sample *sample); |
71 | 71 |
72 static const char *extensions_midi[] = { "MIDI", NULL }; | |
72 const Sound_DecoderFunctions __Sound_DecoderFunctions_MIDI = | 73 const Sound_DecoderFunctions __Sound_DecoderFunctions_MIDI = |
73 { | 74 { |
74 { | 75 { |
75 "MIDI", | 76 extensions_midi, |
76 "MIDI music through the TiMidity MIDI to WAVE converter", | 77 "MIDI music through the TiMidity MIDI to WAVE converter", |
77 "Torbjörn Andersson <d91tan@Update.UU.SE>", | 78 "Torbjörn Andersson <d91tan@Update.UU.SE>", |
78 "http://www.goice.co.jp/member/mo/timidity/" | 79 "http://www.goice.co.jp/member/mo/timidity/" |
79 }, | 80 }, |
80 | 81 |