diff options
author | Jacob Meuser <jakemsr@cvs.openbsd.org> | 2009-09-09 02:13:36 +0000 |
---|---|---|
committer | Jacob Meuser <jakemsr@cvs.openbsd.org> | 2009-09-09 02:13:36 +0000 |
commit | 59019a52eb95fcb0b7becca9a942cff945ff4862 (patch) | |
tree | 5ae96fef27175ca880ab540f5ac881b84cb8d730 /sys/dev/pci/azalia.c | |
parent | 2e7baea3a86085043bc858c8deb16ced7c959307 (diff) |
handle mixer get/set requests for class type mixer items in the underlying
mixer get/set routines instead of in the MI audio routines.
Diffstat (limited to 'sys/dev/pci/azalia.c')
-rw-r--r-- | sys/dev/pci/azalia.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/dev/pci/azalia.c b/sys/dev/pci/azalia.c index dc3f6d64e48..90c4228b8de 100644 --- a/sys/dev/pci/azalia.c +++ b/sys/dev/pci/azalia.c @@ -1,4 +1,4 @@ -/* $OpenBSD: azalia.c,v 1.145 2009/09/09 00:26:57 jakemsr Exp $ */ +/* $OpenBSD: azalia.c,v 1.146 2009/09/09 02:13:35 jakemsr Exp $ */ /* $NetBSD: azalia.c,v 1.20 2006/05/07 08:31:44 kent Exp $ */ /*- @@ -3705,9 +3705,6 @@ azalia_set_port(void *v, mixer_ctrl_t *mc) codec_t *co; const mixer_item_t *m; - if (mc->type == AUDIO_MIXER_CLASS) - return 0; /* nothing to do */ - az = v; co = &az->codecs[az->codecno]; if (mc->dev < 0 || mc->dev >= co->nmixers) @@ -3727,9 +3724,6 @@ azalia_get_port(void *v, mixer_ctrl_t *mc) codec_t *co; const mixer_item_t *m; - if (mc->type == AUDIO_MIXER_CLASS) - return 0; /* nothing to do */ - az = v; co = &az->codecs[az->codecno]; if (mc->dev < 0 || mc->dev >= co->nmixers) |