svn commit: r223662 - head/sys/sys

Andriy Gapon avg at FreeBSD.org
Wed Jun 29 08:28:39 UTC 2011


Author: avg
Date: Wed Jun 29 08:28:39 2011
New Revision: 223662
URL: http://svn.freebsd.org/changeset/base/223662

Log:
  revert r222723: wrong change was committed
  
  The commit intended to add SNDCTL_DSP_HALT, but actually added
  SNDCTL_SEQ_HALT, which is not defined in the OSS specs.
  
  Reported by:	Pan Tsu <inyaoo at gmail.com>
  Pointyhat to:	gerald, avg

Modified:
  head/sys/sys/soundcard.h

Modified: head/sys/sys/soundcard.h
==============================================================================
--- head/sys/sys/soundcard.h	Wed Jun 29 06:45:44 2011	(r223661)
+++ head/sys/sys/soundcard.h	Wed Jun 29 08:28:39 2011	(r223662)
@@ -311,8 +311,7 @@ typedef struct _snd_capabilities {
  * IOCTL Commands for /dev/sequencer
  */
 
-#define SNDCTL_SEQ_HALT		_IO  ('Q', 0)
-#define SNDCTL_SEQ_RESET	SNDCTL_SEQ_HALT	/* Historic interface */
+#define SNDCTL_SEQ_RESET	_IO  ('Q', 0)
 #define SNDCTL_SEQ_SYNC		_IO  ('Q', 1)
 #define SNDCTL_SYNTH_INFO	_IOWR('Q', 2, struct synth_info)
 #define SNDCTL_SEQ_CTRLRATE	_IOWR('Q', 3, int) /* Set/get timer res.(hz) */


More information about the svn-src-head mailing list