At Mon, 23 Mar 2015 09:35:43 -0700, Mark Brown wrote:
Now the question is whether we need representing the same item for input jack, even though it's nothing but a place holder. If we want to have consistency between input and kctl jack items, then yes. OTOH, we might want to drop buttons from kctls in anyway, so such a consistency has no importance. Then we may just ignore phantom jacks for input jacks but create only phatom jack kctls, too, either by adding a new flag to indicate that, or let type=0 behaving like that.
I'm not sure I see the relevancy of buttons here?
Well, you pointed that buttons are needed only for input devices, that implicitly means that we don't need to create kctls for buttons. That is, it's not guaranteed that all jack items have to be present in as both input and kctl. Following this logic, we may make phantom jacks only appearing in kctls but not in input.
Takashi