blob: 512040ac3af38c95aca7aec8017e005841a19b8c (
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
33
|
$NetBSD: patch-af,v 1.4 2000/10/28 23:04:31 wiz Exp $
--- cd_unix.c.orig Sun Aug 20 03:25:53 2000
+++ cd_unix.c
@@ -62,7 +62,6 @@
void cd_play_track(u8 track)
{
-#ifdef SYSTEM_FREEBSD
struct ioc_play_track playtrack;
/* FIXME: CD keeps playing after program quits */
@@ -74,12 +73,10 @@
playtrack.end_index = 1;
ioctl(cd_drive, CDIOCPLAYTRACKS, &playtrack);
-#endif
}
void cd_play_lba(u32 from, u32 to, int repeat)
{
-#ifdef SYSTEM_FREEBSD
struct ioc_play_blocks playblocks;
/* FIXME: ignores the repeat flag */
@@ -94,7 +91,6 @@
playblocks.len = to - from;
ioctl(cd_drive, CDIOCPLAYBLOCKS, &playblocks);
-#endif
}
#ifdef SYSTEM_LINUX
|