|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Jacob Meuser (jakemsr
cvs.openbsd.org)
Date: Tue Nov 18 2008 - 21:44:14 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
CVSROOT: /cvs
Module name: src
Changes by: jakemsr
cvs.openbsd.org 2008/11/18 20:44:14
Modified files:
sys/dev/pci : azalia.c azalia.h azalia_codec.c
Log message:
the jack sense automatic muting code has many problems, including
being the cause of PR5982. unfortunately, there's no easy and clean
solution to automatic muting. we can't always rely on the codec
giving us the right information. people have different preferences
as to what should be muted and what shouldn't. etc, etc.
so instead, just make the sense state of jacks that support sensing
available through the mixer interface. this allows for any possible
user configuration and supports all pins that have sense capabilities,
not just headpones. codecs that use the generic mixer configuration
(which is the plan for all codecs) and have sensing capable pins will
now get a few more read-only mixer items, such as:
outputs.hp_sense=plugged
outputs.mic_sense=unplugged
outputs.line_sense=unplugged
hopefully what they mean is self-explanatory.
based on much discussion with ratchov
and Alexey Suslikov
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]