On Tue, Oct 21, 2008 at 03:42:19PM -0400, Matthew Ranostay wrote:
Mark Brown wrote:
What do you mean by a "mixer switch"? Do you just mean a software control that can select between line and headphone signals?
Yeah, when it's a line out it doesn't mute the other lineouts.
Is the hardware able to determine which kind of device is connected to the jack?
Yes with the AC_VERB_GET_PIN_WIDGET_CONTROL verb being read when reporting the jack status.
OK, that's exactly the case I was describing before: it's a jack with independant line and headphone functions that is able to distinguish between the two. The switching isn't particularly relevant to the function of the jack here, it's a natural feature of the jack API - if the hardware could also determine if a microphone were connected to the jack and be configured appropriately then it could also report that.