[LAU] sound devices usbpre2
Bernardo Barros
bernardobarros2 at gmail.com
Thu Nov 17 18:51:25 UTC 2011
Try this:
----%<--------%<--------%<--------%<--------%<--------%<--------%<----
#! /bin/bash
# autostart.sh
export SAMPLE_RATE=48000
export FRAMES_PERIOD=64
export N_PERIODS=3
if [ -e "/proc/asound/USBPre2" ]; then
/usr/bin/jackd -P81 -d alsa -d hw: $USBPre2 -r ${SAMPLE_RATE} -p
${FRAMES_PERIOD} -n ${N_PERIODS} &
fi
----%<--------%<--------%<--------%<--------%<--------%<--------%<----
More information about the Linux-audio-user
mailing list