summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoravg <avg@FreeBSD.org>2011-06-29 08:32:37 +0000
committeravg <avg@FreeBSD.org>2011-06-29 08:32:37 +0000
commit25754c328739d958c8e3d2eb1a045500af313d3f (patch)
tree417788c491e399a2b37412ace213675782527833
parent82c1b6015602eb2b9a077e04bd58c8a4d5401e4f (diff)
downloadFreeBSD-src-25754c328739d958c8e3d2eb1a045500af313d3f.zip
FreeBSD-src-25754c328739d958c8e3d2eb1a045500af313d3f.tar.gz
add SNDCTL_DSP_HALT specified by OSS
This is really a new name for SNDCTL_DSP_RESET. And this what commit r222723 should really have been in the first place. PR: kern/156874 Submitted by: gerald MFC after: 1 week
-rw-r--r--sys/sys/soundcard.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/sys/soundcard.h b/sys/sys/soundcard.h
index c4cfc27..2916287 100644
--- a/sys/sys/soundcard.h
+++ b/sys/sys/soundcard.h
@@ -775,7 +775,8 @@ typedef struct {
* IOCTL commands for /dev/dsp and /dev/audio
*/
-#define SNDCTL_DSP_RESET _IO ('P', 0)
+#define SNDCTL_DSP_HALT _IO ('P', 0)
+#define SNDCTL_DSP_RESET SNDCTL_DSP_HALT
#define SNDCTL_DSP_SYNC _IO ('P', 1)
#define SNDCTL_DSP_SPEED _IOWR('P', 2, int)
#define SNDCTL_DSP_STEREO _IOWR('P', 3, int)
OpenPOWER on IntegriCloud