Re: [linux-audio-user] jack things please

From: Marc-Olivier Barre <mobarre@email-addr-hidden>
Date: Sun Dec 10 2006 - 11:57:17 EET

On 12/9/06, we are <gateswideopen@email-addr-hidden> 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.
Received on Tue Dec 12 00:15:24 2006

This archive was generated by hypermail 2.1.8 : Tue Dec 12 2006 - 00:15:24 EET