misc.h File Reference

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.
FLUIDSYNTH_API int fluid_is_midifile (char *filename)
 fluid_is_midifile returns 1 if the specified filename is a MIDI file.


Function Documentation

FLUIDSYNTH_API int fluid_is_midifile ( char *  filename  ) 

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.

FLUIDSYNTH_API int fluid_is_soundfont ( char *  filename  ) 

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.


Generated on Mon Jul 3 23:38:17 2006 for libfluidsynth by  doxygen 1.4.7