Re: [Jack-Devel] Internal vs external clients
On Thu, Jun 21, 2012 at 4:53 PM, Eric Renrut <[hidden]> wrote:
> Hi,
>
> I have a few questions regarding Jackd and its clients.
>
> 1) Are internal clients used to control/manipulate the jack server,
> while an external client is used to interact with the jackd server? Is
> this the big difference or is there more?
>
No. Its just a more efficient way to run a client. Almost nobody does
it,however, since it is effectively a plugin API, and the client is no
longer a separate process.
> 2) I've been playing around with simple client. Specifically, I have
> been manipulating the way it handles command line inputs. In one terminal I
> have jackd(which is set via a series of cmd line args) running. In another
> window, I compile and execute the simple client. Within the program I am
> using the function jack_client_open. I noticed the following:
>
> - The program attempts to open another jack server (it fails
> because there is one already running).
>
apparently you're not running them both as the same user.
> - If I close the jack server running in the other terminal, then
> once I execute the program it successfully brings up a default jack
> server. I am trying to get my program to connect to the jack server I have
> running in a separate terminal. Can you tell me why this is not happening
> if I am using the following command at the terminal : ( sudo jackd -R -T
> -v -c s -d alsa -d hw:0 -M -H -i 2 -n 2 -o 2 -p 256 -r 48000)
>
do not use sudo with JACK.
> - Ideally I would like to input all of the necessary flag
> setting(ie: -R -T -v -c s -d alsa -d hw:0 -M -H -i 2 -n 2 -o 2 -p 256 -r
> 48000) into a function so that once I execute the program it automatically
> fires up jackd with the prescribed settings? Can you point me in the right
> direction if that is possible?
>
use qjackctl or learn how to write a shell script.
1340312184.15509_0.ltw:2,a <CAFa_cKkGqwfb--Jbh1+Y9RbzoirZFK3bVZySArt7+aNuxKAWrg at mail dot gmail dot com>