1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/audio/xmixer/files/patch-ae
Chris Piazza 7613a06931 Import of xmixer.
Xmixer includes two programs, xmixer and gmixer.  xmixer uses
Athena widgets and gmixer uses GTK+.

It can change the volume for multiple devices, select input
device(s) for recording, hide devices you don't want to see,
and has batch support.

PR:		14555
Submitted by:	Trevor Johnson <trevor@jpj.net>
1999-11-14 03:17:42 +00:00

23 lines
513 B
Plaintext

--- mixer.c.orig Sat Aug 21 15:26:41 1999
+++ mixer.c Tue Oct 26 23:47:37 1999
@@ -46,7 +46,18 @@
# include <sys/asound.h>
#endif
#ifdef OSS
-# include <sys/soundcard.h>
+/* "The nice thing about standards..." */
+#if defined (__linux__) || defined (__bsdi__)
+#include <sys/soundcard.h>
+#else
+#if defined (__FreeBSD__)
+#include <machine/soundcard.h>
+#else
+#if defined (__NetBSD__) || defined (__OpenBSD__)
+#include <soundcard.h> /* OSS emulation */
+#endif
+#endif
+#endif
#endif
#include "mixer.h"