1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-21 11:13:30 +00:00

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
This commit is contained in:
Andriy Gapon 2011-06-29 08:32:37 +00:00
parent 18a30e639d
commit 147c5f1fc1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=223663

View File

@ -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)