Main Page   Data Structures   File List   Data Fields   Globals  

misc.h

Go to the documentation of this file.
00001 /* FluidSynth - A Software Synthesizer
00002  *
00003  * Copyright (C) 2003  Peter Hanappe and others.
00004  *
00005  * This library is free software; you can redistribute it and/or
00006  * modify it under the terms of the GNU Library General Public License
00007  * as published by the Free Software Foundation; either version 2 of
00008  * the License, or (at your option) any later version.
00009  *
00010  * This library is distributed in the hope that it will be useful, but
00011  * WITHOUT ANY WARRANTY; without even the implied warranty of
00012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013  * Library General Public License for more details.
00014  *  
00015  * You should have received a copy of the GNU Library General Public
00016  * License along with this library; if not, write to the Free
00017  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
00018  * 02111-1307, USA
00019  */
00020 
00021 #ifndef _FLUIDSYNTH_MISC_H
00022 #define _FLUIDSYNTH_MISC_H
00023 
00024 
00025 #ifdef __cplusplus
00026 extern "C" {
00027 #endif
00028 
00029 
00030 /*
00031  *
00032  *  Utility functions
00033  */
00034 
00041 FLUIDSYNTH_API int fluid_is_soundfont(char* filename);
00042 
00048 FLUIDSYNTH_API int fluid_is_midifile(char* filename);
00049 
00050 
00051 
00052 
00053 #ifdef WIN32
00054 
00056 FLUIDSYNTH_API void* fluid_get_hinstance(void);
00057 FLUIDSYNTH_API void fluid_set_hinstance(void* hinstance);
00058 #endif
00059 
00060 
00061 #ifdef __cplusplus
00062 }
00063 #endif
00064 
00065 #endif /* _FLUIDSYNTH_MISC_H */

Generated on Thu Mar 13 19:09:34 2003 for libfluidsynth by doxygen1.2.15