[pulseaudio-discuss] [PATCH 3/6] Cards now has ports directly, and device port has list of profiles

Tanu Kaskinen tanuk at iki.fi
Tue Nov 8 10:16:17 PST 2011


On Tue, 2011-11-08 at 14:21 +0100, David Henningsson wrote:
> On 11/08/2011 11:30 AM, Arun Raghavan wrote:
> > On Thu, 2011-11-03 at 21:04 +0200, Tanu Kaskinen wrote:
> >> Somehow keeping a list of profiles in the ports doesn't feel right -
> >> it's as if that list would have been thrown there just to make things
> >> convenient for some random code... But I guess there's a reason, which
> >> just isn't apparent from this patch yet, for having that list there.
> >
> > This is my largest concern as well.
> 
> There is nothing wrong with every port knowing what profiles that port 
> is a part of; it follows naturally with having port belonging to cards.

I think I agree after all. I tried to come up with a better
counterargument than "it doesn't feel right", but I failed.

-- 
Tanu



More information about the pulseaudio-discuss mailing list