|
libpsynth 0.2.1
|
00001 /*************************************************************************** 00002 * * 00003 * PSYCHOSYNTH * 00004 * =========== * 00005 * * 00006 * Copyright (C) Juan Pedro Bolivar Puente 2007, 2008 * 00007 * * 00008 * This program is free software: you can redistribute it and/or modify * 00009 * it under the terms of the GNU General Public License as published by * 00010 * the Free Software Foundation, either version 3 of the License, or * 00011 * (at your option) any later version. * 00012 * * 00013 * This program is distributed in the hope that it will be useful, * 00014 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 00016 * GNU General Public License for more details. * 00017 * * 00018 * You should have received a copy of the GNU General Public License * 00019 * along with this program. If not, see <http://www.gnu.org/licenses/>. * 00020 * * 00021 ***************************************************************************/ 00022 00023 #ifndef PSYNTH_DEFAULTS_H 00024 #define PSYNTH_DEFAULTS_H 00025 00026 #include <psynth/version.hpp> 00027 00028 #ifdef PSYNTH_HAVE_ALSA 00029 #define PSYNTH_DEFAULT_OUTPUT "alsa" 00030 #else 00031 # ifdef PSYNTH_HAVE_JACK 00032 # define PSYNTH_DEFAULT_OUTPUT "jack" 00033 # else 00034 # ifdef PSYNTH_HAVE_OSS 00035 # define PSYNTH_DEFAULT_OUTPUT "oss" 00036 # else 00037 # define PSYNTH_DEFAULT_OUTPUT "dummy" 00038 # endif 00039 # endif 00040 #endif 00041 00042 #define PSYNTH_DEFAULT_NUM_CHANNELS 2 00043 #define PSYNTH_DEFAULT_BLOCK_SIZE 256 00044 #define PSYNTH_DEFAULT_SAMPLE_RATE 44100 00045 00046 #endif /* PSYNTH_DEFAULTS_H */
1.7.4