00001 /* 00002 00003 TiMidity -- Experimental MIDI to WAVE converter 00004 Copyright (C) 1995 Tuukka Toivonen <toivonen@clinet.fi> 00005 00006 This program is free software; you can redistribute it and/or modify 00007 it under the terms of the GNU General Public License as published by 00008 the Free Software Foundation; either version 2 of the License, or 00009 (at your option) any later version. 00010 00011 This program is distributed in the hope that it will be useful, 00012 but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 GNU General Public License for more details. 00015 00016 You should have received a copy of the GNU General Public License 00017 along with this program; if not, write to the Free Software 00018 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00019 00020 resample.h 00021 */ 00022 00023 #ifdef USE_TIMIDITY_MIDI 00024 00025 #ifndef TIMIDITY_RESAMPLE_H_INCLUDED 00026 #define TIMIDITY_RESAMPLE_H_INCLUDED 00027 00028 #include "timidity.h" 00029 00030 #ifdef NS_TIMIDITY 00031 namespace NS_TIMIDITY { 00032 #endif 00033 00034 extern sample_t *resample_voice(int v, sint32 *countptr); 00035 extern void pre_resample(Sample *sp); 00036 00037 #ifdef NS_TIMIDITY 00038 }; 00039 #endif 00040 00041 #endif 00042 00043 #endif //USE_TIMIDITY_MIDI