On Saturday 16 January 2010 22:12:54 Arnold Krille wrote:
> For jack1 the following patch makes better use of the names, it removes the
> leading [PC]<number>_ from the name. Without this, the names will still be
> depending on the order the devices are found.
> With the patch one can now define connections based on the device, not on
> the order ffado found the device.
> Maybe someone with write-access to the jack repository (ppalmers?) can
> commit that patch? Note that mainline users of jack are not affected as
> the aliases of system:capture_X and system:playback_X don't change
> behaviour. Its only users of more then one firewire-device that can make
> use of it.
Actually some late-night testing revealed more problems with this. I have to
think about it again. I think instead of relying on ffado (which relies mostly
on the hardware) to do the right thing, jack should add a suffix of "in" or
"out" to the channel names.
The problem is that ffado only builds unique names for within input and output,
while jack needs globally unique names. So its best left to jack to make the
names unique by distinguishing between input and output. This is similar to
the [PC] prefix that jack has currently, but I think a more verbose suffix is