Go to the source code of this file.
Functions | |
FLUIDSYNTH_API int | fluid_is_soundfont (char *filename) |
fluid_is_soundfont returns 1 if the specified filename is a soundfont. More... | |
FLUIDSYNTH_API int | fluid_is_midifile (char *filename) |
fluid_is_midifile returns 1 if the specified filename is a MIDI file. More... |
|
fluid_is_midifile returns 1 if the specified filename is a MIDI file. It retuns 0 otherwise. The current implementation only checks for the "MThd" header in the file. |
|
fluid_is_soundfont returns 1 if the specified filename is a soundfont. It retuns 0 otherwise. The current implementation only checks for the "RIFF" header in the file. It is useful only to distinguish between SoundFonts and MIDI files. |