It seems that my touch which has TT2.0 applied has only one jive_alsa
proces, my other touch which only has the RT stuff done has two
processes (one for spdif and one for the analog output). That makes it
a bit harder to get the PID's of both of them.

But with a bit of persuasion it works, we only need the jive_alsa
connected to the plughw:

# ps -eo pid,args|grep jive_alsa
706 jive_alsa -d plughw:2,0 -b 20000 -p 2 -s 16 -f 2
707 jive_alsa -d default -c default -b 20000 -p 2 -s 24 -f 1

You could use this in your script:

ps -eo pid,args|grep "jive_alsa -d plughw"|head -1|cut -f3 -d" "


-- 
lintweaker
------------------------------------------------------------------------
lintweaker's Profile: http://forums.slimdevices.com/member.php?userid=47485
View this thread: http://forums.slimdevices.com/showthread.php?t=89359

_______________________________________________
audiophiles mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/audiophiles

Reply via email to