pkgsrc/audio/libhydrogen/patches/patch-aa
xtraeme b271e913ee Initial import of libhydrogen-0.8.0 from pkgsrc-wip, contributed by
Chris Wareham.

Shared library for Hydrogen, a simple real-time Drum machine/sequencer
for CAC (Computer Aided Composition).
2004-07-06 14:51:17 +00:00

17 lines
462 B
Text

$NetBSD: patch-aa,v 1.1.1.1 2004/07/06 14:51:17 xtraeme Exp $
--- src/OssDriver.h.orig 2003-09-24 14:20:31.000000000 +0200
+++ src/OssDriver.h 2003-09-24 14:22:34.000000000 +0200
@@ -51,11 +51,7 @@
#include "GenericDriver.h"
#include "PreferencesMng.h"
-#ifdef __NetBSD__
- #define AUDIO_DEVICE "/dev/audio"
-#else
- #define AUDIO_DEVICE "/dev/dsp"
-#endif
+#define AUDIO_DEVICE DEVOSSAUDIO
typedef int (*audioProcessCallback)(unsigned long, void *);