svn commit: r222723 - head/sys/sys

Pan Tsu inyaoo at gmail.com
Sun Jun 5 21:23:28 UTC 2011


Andriy Gapon <avg at FreeBSD.org> writes:

> Author: avg
> Date: Sun Jun  5 21:01:41 2011
> New Revision: 222723
> URL: http://svn.freebsd.org/changeset/base/222723
>
> Log:
>   add SNDCTL_DSP_HALT specified by OSS
>   
>   This is really a new name for SNDCTL_DSP_RESET.
>   
>   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	Sun Jun  5 20:22:56 2011	(r222722)
> +++ head/sys/sys/soundcard.h	Sun Jun  5 21:01:41 2011	(r222723)
> @@ -311,7 +311,8 @@ typedef struct _snd_capabilities {
>   * IOCTL Commands for /dev/sequencer
>   */
>  
> -#define SNDCTL_SEQ_RESET	_IO  ('Q', 0)
> +#define SNDCTL_SEQ_HALT		_IO  ('Q', 0)
> +#define SNDCTL_SEQ_RESET	SNDCTL_SEQ_HALT	/* Historic interface */

Apparently, the one for /dev/sequencer is too new to be documented.

  http://manuals.opensound.com/developer/SNDCTL_SEQ_HALT.html -> "Not found"

>  #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-all mailing list