On 12/9/06, we are <gateswideopen@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.