00001 /* 00002 * $Id: audio_alsa.h,v 1.4 2009/05/30 00:45:51 kprox Exp $ 00003 * 00004 * Copyright (C) 2002-2006: 00005 * Ken Prox <kprox@users.sourceforge.net> 00006 * 00007 * This program is free software; you can redistribute it and/or modify 00008 * it under the terms of the GNU General Public License as published by 00009 * the Free Software Foundation; either version 2 of the License, or 00010 * (at your option) any later version. 00011 * 00012 * This program is distributed in the hope that it will be useful, 00013 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 * GNU General Public License for more details. 00016 * 00017 * You should have received a copy of the GNU General Public License 00018 * along with this program; if not, write to the Free Software 00019 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA 00020 */ 00021 #ifndef AUDIO_ALSA_H 00022 #define AUDIO_ALSA_H 00023 00024 #ifdef HAVE_CONFIG_H 00025 #include "config.h" 00026 #endif 00027 00028 #include "audio.h" 00029 00030 #ifdef HAVE_ALSA_ASOUNDLIB_H 00031 #define audio_open_alsa NULL 00032 #define audio_init_alsa NULL 00033 #define audio_close_alsa NULL 00034 #define audio_record_alsa NULL 00035 #define audio_play_alsa NULL 00036 #else /* HAVE_ALSA_ASOUNDLIB_H */ 00037 #define audio_open_alsa NULL 00038 #define audio_init_alsa NULL 00039 #define audio_close_alsa NULL 00040 #define audio_record_alsa NULL 00041 #define audio_play_alsa NULL 00042 #endif /* HAVE_ALSA_ASOUNDLIB_H */ 00043 00044 #endif /* AUDIO_ALSA_H */