[LAU] Using logical ALSA device names with qjackctl

Rui Nuno Capela rncbc at rncbc.org
Sat Jun 4 22:39:42 UTC 2011


On 06/04/2011 11:14 PM, Fons Adriaensen wrote:
> Hello all,
>
> Is there any way to use logical device nammes instead of
> 'hw:a.b' when setting up Qjackctl ? It seems like the
> easiest way to deal with hw device numbers changing on
> each boot, but I haven't found a way to do it.
> Editing ~/.jackdrc doesn't work, it just gets overwritten
> with the (wrong) hw device names (and I wonder why this
> is done).
>

afaics, you can use hw:SHORTNAME instead of the usual hw:NUMBER form, 
but that only helps if you can distinguish device names by their 
respective short-name ie. different device brand models.

device short-names maybe read from /proc/asound/cards, being the names 
found between [] brackets.

otoh, ~/.jackdrc is optionally rewritten by qjackctl, as seen convenient 
to replicate its settings when auto-starting jackd later, eventually 
outside qjackctl control.

nb. qjackctl never reads from ~/.jackdrc.

cheers
-- 
rncbc aka Rui Nuno Capela
rncbc at rncbc.org


More information about the Linux-audio-user mailing list