aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2007-09-20 04:17:44 +0800
committerjkim <jkim@FreeBSD.org>2007-09-20 04:17:44 +0800
commit95f1e2e72ba60fa6ed1c0bd92cdbe7457050881e (patch)
tree6d9b021e772870ce31ba09e257ec7bfe4d9b66a1 /audio
parenta807a289ef3e2335ac9e3bfbd922e2fa08c37719 (diff)
downloadfreebsd-ports-gnome-95f1e2e72ba60fa6ed1c0bd92cdbe7457050881e.tar.gz
freebsd-ports-gnome-95f1e2e72ba60fa6ed1c0bd92cdbe7457050881e.tar.zst
freebsd-ports-gnome-95f1e2e72ba60fa6ed1c0bd92cdbe7457050881e.zip
Fix Audigy mixer bug.
http://4front-tech.com/forum/viewtopic.php?t=2290 Approved by: glewis (mentor) Obtained from: 4Front Technologies
Diffstat (limited to 'audio')
-rw-r--r--audio/oss/Makefile1
-rw-r--r--audio/oss/files/patch-kernel-drv-audigyls-audigyls.c18
2 files changed, 19 insertions, 0 deletions
diff --git a/audio/oss/Makefile b/audio/oss/Makefile
index 4553486b13af..8e264282e22c 100644
--- a/audio/oss/Makefile
+++ b/audio/oss/Makefile
@@ -7,6 +7,7 @@
PORTNAME= oss
DISTVERSION= 4.0-build1006
+PORTREVISION= 1
CATEGORIES= audio kld
MASTER_SITES= http://developer.opensound.com/sources/stable/
DISTNAME= ${PORTNAME}-v${DISTVERSION}-src-cddl
diff --git a/audio/oss/files/patch-kernel-drv-audigyls-audigyls.c b/audio/oss/files/patch-kernel-drv-audigyls-audigyls.c
new file mode 100644
index 000000000000..36ce0c03b194
--- /dev/null
+++ b/audio/oss/files/patch-kernel-drv-audigyls-audigyls.c
@@ -0,0 +1,18 @@
+--- kernel/drv/audigyls/audigyls.c.orig 2007-08-30 18:07:30.000000000 -0400
++++ kernel/drv/audigyls/audigyls.c 2007-09-19 12:55:02.000000000 -0400
+@@ -1577,6 +1577,7 @@
+ if (IOC_IS_OUTPUT (cmd))
+ switch (cmd & 0xff)
+ {
++ case SOUND_MIXER_RECMASK:
+ case SOUND_MIXER_RECSRC:
+ return *arg = 0;
+ break;
+@@ -1596,6 +1597,7 @@
+ else
+ switch (cmd & 0xff) /* Return Parameter */
+ {
++ case SOUND_MIXER_RECMASK:
+ case SOUND_MIXER_RECSRC:
+ return *arg = 0;
+ break;