[linux-audio-user] jack things please

Marc-Olivier Barre mobarre at gmail.com
Sun Dec 10 04:57:17 EST 2006


On 12/9/06, we are <gateswideopen at gmail.com> wrote:
>
> > #!/bin/bash
> >
> > if [ -e /proc/asound/$HDSP ]; then
> >         qjackctl --preset=$HDSP
> > else
> >         quackctl --preset=$ICH
> >
> > fi
>
> Yep,
> thats exactly what i need. problem solved!
>
> thanks.
>
> tom.
>

To make it clear for users who have other types of cards, a generic syntax
could be :

#!/bin/bash

if [ -e /proc/asound/$MY_REMOVABLE_CARD ]; then
        qjackctl --preset=$MY_REMOVABLE_CARD
else
        quackctl --preset=$MY_DEFAULT_INTERNAL_CARD
fi

This is just what I needed to run jackd as a start up daemon...
__________________
Marc-Olivier Barre,
Markinoko.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.linuxaudio.org/pipermail/linux-audio-user/attachments/20061210/466e13be/attachment.htm 


More information about the Linux-audio-user mailing list