How about this for kmid?
Alex Zepeda
zipzippy at sonic.net
Mon Sep 30 21:56:23 BST 2002
It compiles over here. How about on linux?
Actually. Does anyone still use/need machine/soundcard.h? Does linux use
sys/soundcard.h? This would simplify lots of things.
- alex
$NetBSD: patch-bu,v 1.2 2002/08/25 19:23:55 jlam Exp $
--- libkmid/sndcard.h.orig Sat Jun 24 14:35:18 2000
+++ libkmid/sndcard.h
@@ -31,9 +31,12 @@
#ifdef HAVE_SYS_SOUNDCARD_H
#include <sys/soundcard.h>
- #define HAVE_OSS_SUPPORT
#elif defined(HAVE_MACHINE_SOUNDCARD_H)
#include <machine/soundcard.h>
+#endif
+
+/* Check for OSS MIDI API */
+#if defined(SNDCTL_SEQ_NRSYNTHS) && defined(CTL_MAIN_VOLUME)
#define HAVE_OSS_SUPPORT
#else
#undef HAVE_OSS_SUPPORT
More information about the kde-core-devel
mailing list