blob: 962f59aad9af5e3daa544f7cbfa3dfb4af4233a6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
$NetBSD: patch-ae,v 1.4 2005/12/11 20:48:46 joerg Exp $
--- cdrom_callb.c.orig Tue Jan 12 19:59:48 1993
+++ cdrom_callb.c Mon Sep 6 18:37:05 1999
@@ -22,6 +22,9 @@
# include "debug.h"
# include "cdrom_globs.h"
+#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__DragonFly__)
+# include "cdrom_freebsd.h"
+#endif
#ifdef sun
# include "cdrom_sun.h"
#endif
@@ -29,6 +32,8 @@
# include "cdrom_sgi.h"
#endif
+extern AppData app_data;
+
void cdrom_new_disc();
/*
@@ -287,7 +292,7 @@
* if playing less than replayThreshold seconds, back up to
* previous track; otherwise start at beginning of current track:
*/
- if (cdi.duration < replayThreshold)
+ if (cdi.duration < app_data.replayThreshold)
{
if ((cdi.program != NULL) &&
(cdi.state & CDROM_STATE_PLAY) &&
|