Re: jack things please

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux