On Thu, May 07, 2009 at 02:56:54PM +0200, Lennart Poettering wrote:
From the PA perspective I actually don't really need the full routing of the sound card exposed. I always want to focus on actual end-user use cases instead of exposing the full mixer capabilities. All I need to know is which elements are in the pipeline from my PCM streams to a specific output, resp. from a specific input to my PCM stream and a more high-level idea what those elements actually mean. i.e. all I need would be an API like this:
To a good approximation that is a fairly simple query on the full routing information (modulo any bypass paths, I guess). I'm not sure the drivers would be able to answer your question without also being able to answer any other routing question.