From 147c5f1fc12652d8e57c1da3eeba4ab18007d7ed Mon Sep 17 00:00:00 2001 From: Andriy Gapon Date: Wed, 29 Jun 2011 08:32:37 +0000 Subject: [PATCH] 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 --- sys/sys/soundcard.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/sys/soundcard.h b/sys/sys/soundcard.h index c4cfc276bdbe..291628761a69 100644 --- a/sys/sys/soundcard.h +++ b/sys/sys/soundcard.h @@ -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)