1 $NetBSD: patch-ae,v 1.3 1999/09/06 16:37:42 tron Exp $
3 --- cdrom_callb.c.orig Tue Jan 12 19:59:48 1993
4 +++ cdrom_callb.c Mon Sep 6 18:37:05 1999
8 # include "cdrom_globs.h"
9 +#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__DragonFly__)
10 +# include "cdrom_freebsd.h"
13 # include "cdrom_sun.h"
16 # include "cdrom_sgi.h"
19 +extern AppData app_data;
21 void cdrom_new_disc();
25 * if playing less than replayThreshold seconds, back up to
26 * previous track; otherwise start at beginning of current track:
28 - if (cdi.duration < replayThreshold)
29 + if (cdi.duration < app_data.replayThreshold)
31 if ((cdi.program != NULL) &&
32 (cdi.state & CDROM_STATE_PLAY) &&