On Thu, May 21, 2015 at 12:59 PM, Bruce Schultz <brul...@gmail.com> wrote:
> On 21 May 2015 2:23:54 AM AEST, meino.cra...@gmx.de wrote: > >Emanuele Rusconi <ema...@gmail.com> [15-05-20 17:36]: > >> On 19 May 2015 at 17:24, <meino.cra...@gmx.de> wrote: > >> > > >> > The master control program (qsstv) raises its shield against Tron, > >displaying > >> > "Sound card error: Device or resource busy." > >> > > >> > And silence was the only voice heard by the folks... > >> > And nothing was displayed anymore. > >> > >> Oops, I forgot the last line of my koan: > >> > >> pcm.!default { type plug; slave { pcm "rawjack" } } > >> > >> -- Emanuele Rusconi > >> > > > >...and confusion reaches the head of great Jack D. and > >from his mouth the words were heard: > > > >#>sudo /etc/init.d/jackd restart > > * Starting JACK Daemon ... > >* JACK daemon can't be started! Check logfile: /var/log/jackd.log > > [ !! ] > > * ERROR: jackd failed to start > >[1] 6210 exit 1 sudo /etc/init.d/jackd restart > > > >...but none of his words, which were good and wise in the past, were > >written down for those who came after him: > > > >#>ls -l /var/log/jackd.log > >-rw-r--r-- 1 root root 0 2015-05-20 18:18 /var/log/jackd.log > > > >And the children - left alone in the dark of this ancient machine - > >stared into the empty LED eyes of their grandmaster not knowing > >to where to go and whether to flee or stand still... > > > >"Help - Oh help us brotheren of the Gentoo! Help!" > >they cried. > > Perhaps the great Jack D. Is talking to itself? > > The pcm.!default line says: when opening alsa, connect to rawjack > > The earlier .asoundrc says: when opening alsa rawjack, direct the > connection to the great Jack D. > > If the jackd connects to the default alsa output, aka rawjack, coult it be > tripping itself up? Is there maybe a jack option to direct the alsa output > to the sound hardware instead? > > > Looks like I'm off on the wrong track... by default, jack connects to the hw:0 alsa device, which is the sound hardware. This page has another example of asoundrc config which might work better for you. https://wiki.archlinux.org/index.php/JACK_Audio_Connection_Kit (search for "Playing nice with ALSA") The config file contents is: # convert alsa API over jack API # use it with # % aplay foo.wav # use this as default pcm.!default { type plug slave { pcm "jack" } } ctl.mixer0 { type hw card 1 } # pcm type jack pcm.jack { type jack playback_ports { 0 system:playback_1 1 system:playback_2 } capture_ports { 0 system:capture_1 1 system:capture_2 } } > -- > :B >