On Sun, 2009-02-22 at 00:36 +0100, Lennart Poettering wrote:
Heya!
I'd like to add functionality to PulseAudio to allow a simplified selection of capture input (i.e. "Mic", "Line-In", ...) and playback outputs ("Headphones", "Line-Out", ...) for ALSA cards. By "simplified" I mean that only one input and output shall be active at a time. Also, some more nonsense items shall be filtered out (i.e. recording from "Phone"). Hence, basically I want to compile a list of available and whitelisted inputs and outputs and allow the user to select exactly one from each.
Fwiw, I may have mentioned at the FOSDEM beer party that this feature was on the to todo list for the hardware use case or scenario manager. Although being a beer party we may not remember discussing....
http://www.slimlogic.co.uk/?p=40
Now I'd of course prefer if the drivers get fixed to use a single element naming scheme only. Is there any chance to get that? And which one would that be?
This would likely be quite time consuming wrt to embedded drivers due to the complex audio hardware requirements of modern mobile phones. There are numerous hardware routes with different inputs and outputs and they are used in different combinations depending on use case.
I think it's probably quite reasonable to do this for most PC sound cards as they are often simpler in terms inputs/outputs.
Liam