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 #ifndef __COMMON_H__ 22 #define __COMMON_H__ 23 24 #ifndef lint 25 static char *_common_h_ident_ = "@(#)common.h 7.4 03/12/12"; 26 #endif 27 28 #ifdef CDDA_SUPPORTED 29 30 /* Semaphores codes */ 31 #define LOCK 0 32 #define ROOM 1 33 #define DATA 2 34 35 /* Function prototypes */ 36 extern byte_t *cdda_rd_corrjitter(cd_state_t *); 37 extern void cdda_wr_setcurtrk(cd_state_t *); 38 39 #endif /* CDDA_SUPPORTED */ 40 41 #endif /* __COMMON_H__ */ 42 43