freebsd-ports/audio/grip/files/patch-ab
Steve Price 378999b03e Avoids bus errors by closing and re-initializing the device before we
try to re-open it.

PR:		20979
Submitted by:	Orion Hodson <O.Hodson@cs.ucl.ac.uk>
2000-09-05 01:33:44 +00:00

11 lines
423 B
Plaintext

--- grip.h.orig Tue Apr 18 10:37:44 2000
+++ grip.h Mon Sep 4 17:59:26 2000
@@ -257,6 +257,7 @@
/* Low-level cd control routines -- found in cd.c */
int CDInitDevice(char *device_name);
+void CDCloseDevice(int cd_desc);
int CDStat(int cd_desc,struct disc_info *disc,gboolean read_toc);
int CDPlayFrames(int cd_desc,int startframe,int endframe);
int CDPlayTrackPos(int cd_desc,struct disc_info *disc,int starttrack,