/* * samplelib_audiofile.h - Header file for audiofile library plugin * * Swami * Copyright (C) 1999-2003 Josh Green * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA * 02111-1307, USA or point your web browser to http://www.gnu.org. * * To contact the author of this program: * Email: Josh Green * Swami homepage: http://swami.sourceforge.net */ #ifndef __SAMPLELIB_AUDIOFILE_H__ #define __SAMPLELIB_AUDIOFILE_H__ #include #include "GObjSup.h" #include /* iiwusynth SwamiWavetbl object */ typedef struct _SamplelibAudiofile SamplelibAudiofile; typedef struct _SamplelibAudiofileClass SamplelibAudiofileClass; #define SAMPLELIB_TYPE_AUDIOFILE (wavetbl_iiwusynth_get_type ()) #define SAMPLELIB_AUDIOFILE(obj) \ (G_TYPE_CHECK_INSTANCE_CAST ((obj), SAMPLELIB_TYPE_AUDIOFILE, \ SamplelibAudiofile)) #define SAMPLELIB_AUDIOFILE_CLASS(klass) \ (G_TYPE_CHECK_CLASS_CAST ((klass), SAMPLELIB_TYPE_AUDIOFILE, \ SamplelibAudiofileClass)) #define SAMPLELIB_IS_AUDIOFILE(obj) \ (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SAMPLELIB_TYPE_AUDIOFILE)) #define SAMPLELIB_IS_AUDIOFILE_CLASS(klass) \ (G_TYPE_CHECK_CLASS_TYPE ((klass), SAMPLELIB_TYPE_AUDIOFILE)) typedef struct _realtime_noteon_t realtime_noteon_t; /* iiwusynth SwamiWavetbl object */ struct _SamplelibAudiofile { SwamiSamplelib object; /* derived from SwamiSamplelib */ }; /* iiwusynth wavetbl class */ struct _SamplelibAudiofileClass { SwamiSamplelibClass parent_class; /* derived from SwamiSamplelibClass */ }; #endif