summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorluigi <luigi@FreeBSD.org>1998-09-08 07:21:00 +0000
committerluigi <luigi@FreeBSD.org>1998-09-08 07:21:00 +0000
commit632907897713a6ee4cf2f34e06199e8c674b85ba (patch)
treeec9290e78c35028b6f5ce5a2c289bd2fe482787a /sys
parent2235e43ba1b5550c7df709cdb33562e80dd811c5 (diff)
downloadFreeBSD-src-632907897713a6ee4cf2f34e06199e8c674b85ba.zip
FreeBSD-src-632907897713a6ee4cf2f34e06199e8c674b85ba.tar.gz
fix a problem with our definition of SNDCTL_DSP_GETBLKSIZE, to let
the FreeBSD x11amp work (same as in -stable)
Diffstat (limited to 'sys')
-rw-r--r--sys/i386/isa/snd/sound.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/i386/isa/snd/sound.c b/sys/i386/isa/snd/sound.c
index b3ded52..51ea2f7 100644
--- a/sys/i386/isa/snd/sound.c
+++ b/sys/i386/isa/snd/sound.c
@@ -819,6 +819,8 @@ sndioctl(dev_t i_dev, u_long cmd, caddr_t arg, int mode, struct proc * p)
/*
* Finally, here is the linux-compatible ioctl interface
*/
+#define THE_REAL_SNDCTL_DSP_GETBLKSIZE _IOWR('P', 4, int)
+ case THE_REAL_SNDCTL_DSP_GETBLKSIZE:
case SNDCTL_DSP_GETBLKSIZE:
*(int *) arg = d->play_blocksize ;
break ;
OpenPOWER on IntegriCloud