78110d1320
The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI functionality to the Linux operating system. ALSA has the following significant features: * Efficient support for all types of audio interfaces, from consumer sound cards to professional multichannel audio interfaces. * Fully modularized sound drivers. * SMP and thread-safe design. * User space library (alsa-lib) to simplify application programming and provide higher level functionality. * Support for the older Open Sound System (OSS) API, providing binary compatibility for most OSS programs. This package provides an OSS plugin for ALSA.
16 lines
393 B
Text
16 lines
393 B
Text
$NetBSD: patch-ab,v 1.1.1.1 2008/12/19 04:03:22 jmcneill Exp $
|
|
|
|
--- oss/ctl_oss.c.orig 2008-10-29 08:42:13.000000000 -0400
|
|
+++ oss/ctl_oss.c
|
|
@@ -26,7 +26,11 @@
|
|
#include <sys/ioctl.h>
|
|
#include <alsa/asoundlib.h>
|
|
#include <alsa/control_external.h>
|
|
+#ifdef __linux__
|
|
#include <linux/soundcard.h>
|
|
+#else
|
|
+#include <sys/soundcard.h>
|
|
+#endif
|
|
|
|
typedef struct snd_ctl_oss {
|
|
snd_ctl_ext_t ext;
|