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. More...

FLUIDSYNTH_API int fluid_is_midifile (char *filename)
 fluid_is_midifile returns 1 if the specified filename is a MIDI file. More...


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 Thu Mar 13 19:09:35 2003 for libfluidsynth by doxygen1.2.15