svn commit: r223663 - head/sys/sys
Andriy Gapon
avg at FreeBSD.org
Wed Jun 29 08:32:38 UTC 2011
Author: avg
Date: Wed Jun 29 08:32:37 2011
New Revision: 223663
URL: http://svn.freebsd.org/changeset/base/223663
Log:
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
Modified:
head/sys/sys/soundcard.h
Modified: head/sys/sys/soundcard.h
==============================================================================
--- head/sys/sys/soundcard.h Wed Jun 29 08:28:39 2011 (r223662)
+++ head/sys/sys/soundcard.h Wed Jun 29 08:32:37 2011 (r223663)
@@ -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)
More information about the svn-src-head
mailing list