Main Page | Data Structures | File List | Data Fields | Globals

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 Sun Nov 30 06:16:37 2003 for libfluidsynth by doxygen 1.3.3