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 * HP-UX audio driver support 24 */ 25 #ifndef __WR_HPUX_H__ 26 #define __WR_HPUX_H__ 27 28 #ifndef lint 29 static char *_wr_hpux_h_ident_ = "@(#)wr_hpux.h 7.11 03/12/12"; 30 #endif 31 32 #if defined(CDDA_WR_HPUX) && defined(CDDA_SUPPORTED) 33 34 #define DEFAULT_DEV_AUDIO "/dev/audio" /* Default audio device */ 35 36 #define HPUX_MAX_VOL ((AUDIO_MAX_GAIN) - (AUDIO_OFF_GAIN)) 37 #define HPUX_HALF_VOL (HPUX_MAX_VOL / 2) 38 #define HPUX_VOL_OFFSET (0 - (AUDIO_OFF_GAIN)) 39 40 /* Exported function prototypes */ 41 extern word32_t hpux_winit(void); 42 extern bool_t hpux_write(curstat_t *); 43 extern void hpux_wdone(bool_t); 44 extern void hpux_winfo(char *); 45 46 #else 47 48 #define hpux_winit NULL 49 #define hpux_write NULL 50 #define hpux_wdone NULL 51 #define hpux_winfo NULL 52 53 #endif /* CDDA_WR_HPUX CDDA_SUPPORTED */ 54 55 #endif /* __WR_HPUX_H__ */ 56 57