1.1 --- a/src/gdrom/linux.c Sun Oct 28 07:23:46 2007 +0000
1.2 +++ b/src/gdrom/linux.c Wed Oct 31 11:53:35 2007 +0000
1.5 - * $Id: linux.c,v 1.7 2007-10-28 07:23:46 nkeynes Exp $
1.6 + * $Id: linux.c,v 1.8 2007-10-31 11:53:35 nkeynes Exp $
1.8 * Linux cd-rom device driver.
1.11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1.12 * GNU General Public License for more details.
1.14 +#include <unistd.h>
1.22 -static gdrom_error_t linux_play_audio( gdrom_disc_t disc, uint32_t lba, uint32_t endlba )
1.23 + gdrom_error_t linux_play_audio( gdrom_disc_t disc, uint32_t lba, uint32_t endlba )
1.25 int fd = fileno( ((gdrom_image_t)disc)->file );
1.26 uint32_t real_sector = lba - CD_MSF_OFFSET;
1.28 return linux_send_command( fd, cmd, NULL, &buflen, CGC_DATA_NONE );
1.31 -static gdrom_error_t linux_stop_audio( gdrom_disc_t disc )
1.32 +gdrom_error_t linux_stop_audio( gdrom_disc_t disc )
1.34 int fd = fileno( ((gdrom_image_t)disc)->file );
1.35 uint32_t buflen = 0;