Re: How to automatically start zita-j2a/a2j with jack?

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

 



On Sun, Jul 08, 2018 at 04:42:19AM -0700, Steven Kruyswijk wrote:
 
> 1. ask Qjackctl to execute the following script after startup:
> 
> sleep 5
> zita-j2a -d hw:CODEC_1

No idea why this won't work, maybe you forgot the

#!/bin/bash 

or to make the script executable.


> 2. execute this script:
> 
> qjackctl (with auto-start)
> sleep 10
> zita-j2a -d hw:CODEC_1

This will wait for qjackctl to terminate before doing
anything else.

You could try:

qjackctl &


If this is to run standalone, why run qjackctl at all ?
Just start jack with the required parameters, e.g.:

---
#!/bin/bash

# Make sure to start from a clean state.
#
killall -9 zita-j2a
killall -9 jackd
#...
sleep 1

# Start jack and anything else required.
#
jackd -P 70 -d alsa -d hw:0,0 -r 48000 -p 256 -n 2
sleep 2
zita-j2a -d CODEC_1
#...
---

Ciao,

-- 
FA




_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
https://lists.linuxaudio.org/listinfo/linux-audio-user




[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