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 sdl_a.c 00021 00022 Functions to output RIFF WAVE format data to a file or stdout. 00023 00024 */ 00025 00026 #include "pent_include.h" 00027 00028 #ifdef USE_TIMIDITY_MIDI 00029 00030 #include "timidity.h" 00031 #include "timidity_output.h" 00032 00033 #ifdef NS_TIMIDITY 00034 namespace NS_TIMIDITY { 00035 #endif 00036 00037 /* export the playback mode */ 00038 00039 #define dpm sdl_play_mode 00040 00041 PlayMode dpm = { 00042 DEFAULT_RATE, PE_16BIT|PE_SIGNED, 00043 "SDL audio" 00044 }; 00045 00046 #ifdef NS_TIMIDITY 00047 }; 00048 #endif 00049 00050 #endif //USE_TIMIDITY_MIDI