Use DEVOSSAUDIO to specify audio device for command-line MOD player.
This commit is contained in:
parent
e1620e6d79
commit
9c4b500211
2 changed files with 5 additions and 7 deletions
|
@ -1,6 +1,6 @@
|
|||
$NetBSD: distinfo,v 1.1.1.1 2004/03/05 22:36:12 ben Exp $
|
||||
$NetBSD: distinfo,v 1.2 2004/03/09 04:38:40 ben Exp $
|
||||
|
||||
SHA1 (modplugxmms-2.05.tar.gz) = ccb307fc7490a94aad2aadb5dac4e4e96aa7892f
|
||||
Size (modplugxmms-2.05.tar.gz) = 242595 bytes
|
||||
SHA1 (patch-ac) = 8bfc9397308a6f7da2f1bf3c7db0ab6981b48141
|
||||
SHA1 (patch-ac) = 397f601e6d02767a1d178892cc38e96fd8b36a9e
|
||||
SHA1 (patch-ad) = 55fcd439905303d3666bf2b8676e3aeeede7ea0f
|
||||
|
|
|
@ -1,14 +1,12 @@
|
|||
$NetBSD: patch-ac,v 1.1.1.1 2004/03/05 22:36:12 ben Exp $
|
||||
$NetBSD: patch-ac,v 1.2 2004/03/09 04:38:40 ben Exp $
|
||||
|
||||
--- modplugplay/modplugplay.c.orig 2003-10-16 03:47:46.000000000 -0700
|
||||
+++ modplugplay/modplugplay.c
|
||||
@@ -89,7 +89,11 @@ command line option handling
|
||||
@@ -89,7 +89,9 @@ command line option handling
|
||||
#define VERSION "1.0"
|
||||
|
||||
#define BUF_SIZE 4096
|
||||
+#ifdef __NetBSD__
|
||||
+#define DEVICE_NAME "/dev/sound"
|
||||
+#else
|
||||
+#ifndef DEVICE_NAME
|
||||
#define DEVICE_NAME "/dev/dsp"
|
||||
+#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue