1 /* 2 * cdda - CD Digital Audio support 3 * 4 * Copyright (C) 1993-2004 Ti Kan 5 * E-mail: xmcd@amb.org 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by 9 * the Free Software Foundation; either version 2 of the License, or 10 * (at your option) any later version. 11 * 12 * This program is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with this program; if not, write to the Free Software 19 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 20 */ 21 22 /* 23 * ALSA (Advanced Linux Sound Architecture) sound driver support 24 * (For ALSA 0.9.x and later only) 25 */ 26 #ifndef __WR_ALSA_H__ 27 #define __WR_ALSA_H__ 28 29 #ifndef lint 30 static char *_wr_alsa_h_ident_ = "@(#)wr_alsa.h 7.10 03/12/12"; 31 #endif 32 33 #if defined(CDDA_WR_ALSA) && defined(CDDA_SUPPORTED) 34 35 #define DEFAULT_PCM_DEV "plughw:0,0" /* Default pcm device */ 36 #define DEFAULT_MIXER_DEV "default" /* Default mixer device */ 37 38 #define ALSA_BUFFER_TIME 500000 39 #define ALSA_PERIOD_TIME 100000 40 41 /* Exported function prototypes */ 42 extern word32_t alsa_winit(void); 43 extern bool_t alsa_write(curstat_t *); 44 extern void alsa_wdone(bool_t); 45 extern void alsa_winfo(char *); 46 47 #else 48 49 #define alsa_winit NULL 50 #define alsa_write NULL 51 #define alsa_wdone NULL 52 #define alsa_winfo NULL 53 54 #endif /* CDDA_WR_ALSA CDDA_SUPPORTED */ 55 56 #endif /* __WR_AIX_H__ */ 57 58