summaryrefslogtreecommitdiff
path: root/sys/dev/pci/azalia.h
diff options
context:
space:
mode:
authorJacob Meuser <jakemsr@cvs.openbsd.org>2010-09-10 15:11:24 +0000
committerJacob Meuser <jakemsr@cvs.openbsd.org>2010-09-10 15:11:24 +0000
commit972586bcd16576dec2d6eec2a161e51454311186 (patch)
tree1dee29e7a239a21717e6c9aa872c56e7f8bf57bf /sys/dev/pci/azalia.h
parent48a2771eee585443e1a103262dd0a7f0ac130906 (diff)
if the speaker is muted because headphones are plugged in, don't
unmute the speaker when the master volume control is unmuted
Diffstat (limited to 'sys/dev/pci/azalia.h')
-rw-r--r--sys/dev/pci/azalia.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/azalia.h b/sys/dev/pci/azalia.h
index dc68b012688..0a63eb42658 100644
--- a/sys/dev/pci/azalia.h
+++ b/sys/dev/pci/azalia.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: azalia.h,v 1.61 2010/08/07 20:48:56 jakemsr Exp $ */
+/* $OpenBSD: azalia.h,v 1.62 2010/09/10 15:11:23 jakemsr Exp $ */
/* $NetBSD: azalia.h,v 1.6 2006/01/16 14:15:26 kent Exp $ */
/*-
@@ -698,6 +698,7 @@ typedef struct codec_t {
nid_t fhp_dac;
int nout_jacks; /* number of default output jacks */
+ int spkr_muted;
int spkr_muters;
int spkr_mute_method;
#define AZ_SPKR_MUTE_NONE 0