summaryrefslogtreecommitdiff
path: root/sysutils/xcdroast/patches/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/xcdroast/patches/patch-ad')
-rw-r--r--sysutils/xcdroast/patches/patch-ad24
1 files changed, 12 insertions, 12 deletions
diff --git a/sysutils/xcdroast/patches/patch-ad b/sysutils/xcdroast/patches/patch-ad
index 0afd3ab2c37..d741bd4818f 100644
--- a/sysutils/xcdroast/patches/patch-ad
+++ b/sysutils/xcdroast/patches/patch-ad
@@ -1,8 +1,8 @@
-$NetBSD: patch-ad,v 1.3 2002/12/02 20:29:49 drochner Exp $
+$NetBSD: patch-ad,v 1.4 2003/06/05 16:15:48 drochner Exp $
---- src/wavplay.c.orig Mon Dec 2 20:48:24 2002
-+++ src/wavplay.c Mon Dec 2 20:52:36 2002
-@@ -19,6 +19,14 @@
+--- src/wavplay.c.orig 2003-04-22 22:28:05.000000000 +0200
++++ src/wavplay.c 2003-06-04 13:32:27.000000000 +0200
+@@ -23,6 +23,14 @@
#include <unistd.h>
#include <fcntl.h>
#include <string.h>
@@ -17,9 +17,9 @@ $NetBSD: patch-ad,v 1.3 2002/12/02 20:29:49 drochner Exp $
#if defined(linux) || defined(__CYGWIN32__)
# include <getopt.h>
#endif
-@@ -64,8 +72,8 @@
- gint abuf_size;
- guchar *audiobuf;
+@@ -73,8 +81,8 @@
+ gint is_in_cd_quality(guchar *hdr);
+
-#if defined(linux) || defined(__FreeBSD__)
-#define DEFAULT_AUDIO_DEVICE "/dev/dsp"
@@ -27,8 +27,8 @@ $NetBSD: patch-ad,v 1.3 2002/12/02 20:29:49 drochner Exp $
+#define DEFAULT_AUDIO_DEVICE "@DEVOSSAUDIO@"
#elif defined (aix)
#define DEFAULT_AUDIO_DEVICE ""
- #else
-@@ -299,7 +307,7 @@
+ #elif defined(__sgi)
+@@ -310,7 +318,7 @@
#endif
@@ -37,7 +37,7 @@ $NetBSD: patch-ad,v 1.3 2002/12/02 20:29:49 drochner Exp $
/* open the sound-device of linux and set cd-quality */
-@@ -350,7 +358,7 @@
+@@ -361,7 +369,7 @@
#endif
@@ -46,7 +46,7 @@ $NetBSD: patch-ad,v 1.3 2002/12/02 20:29:49 drochner Exp $
/* open the sound-device of solaris and set cd-quality */
-@@ -377,7 +385,7 @@
+@@ -388,7 +396,7 @@
info.play.precision = 16;
info.play.encoding = AUDIO_ENCODING_LINEAR;
info.play.buffer_size = abuf_size;
@@ -55,7 +55,7 @@ $NetBSD: patch-ad,v 1.3 2002/12/02 20:29:49 drochner Exp $
info.output_muted = 0;
#endif
-@@ -678,10 +686,10 @@
+@@ -789,10 +797,10 @@
/* the open sets also the global abuf_size-variable */