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)
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to