Re: /usr/bin/qjackctl and pasuspender on Wheezy

2012-05-29 Thread Kaj Ailomaa

On 05/29/2012 10:44 PM, Kaj Ailomaa wrote:

On 05/29/2012 10:26 PM, Kaj Ailomaa wrote:

On 05/29/2012 08:19 PM, Felipe Sateler wrote:

I'm not an expert in JACK, so hopefully someone will correct me if I'm
wrong...

On Tue, May 29, 2012 at 12:52 PM, Kaj Ailomaa
wrote:


Not being a scripting wizard, I'm not able to understand how
/usr/bin/qjackctl works.

Is PA supposed to be suspended at some point?


Only if you have jackd2 with dbus support (like the jackd2 package in
debian).


I can't figure out if it is because of /usr/bin/qjackctl at any point.


AFAIK, no. It is the jack daemon that negotiates the sound card with
PA, qjackctl just starts and stops it. This information is all based
on last time I tried automatic negotiation, which was a while ago.
If PA is already using the sound card (say, your mp3 player is
running), the negotiation will fail and PA will not let jackd have
control of the sound card. In other words, jack asks "pretty please,
can I have the sound card?", and PA decides wether to do it or not.



There is some pasuspender stuff in the /usr/bin/qjackctl starter script.
In the past, starting qjackctl suspended PA. Now it doesn't. What does
the pasuspender stuff in the script do for us now?

I talked with someone who had a problem suspending PA by starting
jackdbus from qjackctl, after having removed pulseaudio-module-jack.
For me, this is not the case, so perhaps he provided me with wrong
information. Qjackctl, with or without dbus enabled, will suspend PA
when I have set jack to use the same output as PA is using.


What I mean is of course, when starting jack from qjackctl, with or 
without dbus enabled, PA is suspended if jack is set to use the same 
output as PA.






...provided I have uninstalled pulseaudio-module-jack





--
To UNSUBSCRIBE, email to debian-multimedia-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4fc5369f.3020...@warpmail.net



Re: /usr/bin/qjackctl and pasuspender on Wheezy

2012-05-29 Thread Kaj Ailomaa

On 05/29/2012 10:26 PM, Kaj Ailomaa wrote:

On 05/29/2012 08:19 PM, Felipe Sateler wrote:

I'm not an expert in JACK, so hopefully someone will correct me if I'm
wrong...

On Tue, May 29, 2012 at 12:52 PM, Kaj Ailomaa
wrote:


Not being a scripting wizard, I'm not able to understand how
/usr/bin/qjackctl works.

Is PA supposed to be suspended at some point?


Only if you have jackd2 with dbus support (like the jackd2 package in
debian).


I can't figure out if it is because of /usr/bin/qjackctl at any point.


AFAIK, no. It is the jack daemon that negotiates the sound card with
PA, qjackctl just starts and stops it. This information is all based
on last time I tried automatic negotiation, which was a while ago.
If PA is already using the sound card (say, your mp3 player is
running), the negotiation will fail and PA will not let jackd have
control of the sound card. In other words, jack asks "pretty please,
can I have the sound card?", and PA decides wether to do it or not.



There is some pasuspender stuff in the /usr/bin/qjackctl starter script.
In the past, starting qjackctl suspended PA. Now it doesn't. What does
the pasuspender stuff in the script do for us now?

I talked with someone who had a problem suspending PA by starting
jackdbus from qjackctl, after having removed pulseaudio-module-jack.
For me, this is not the case, so perhaps he provided me with wrong
information. Qjackctl, with or without dbus enabled, will suspend PA
when I have set jack to use the same output as PA is using.



...provided I have uninstalled pulseaudio-module-jack


--
To UNSUBSCRIBE, email to debian-multimedia-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4fc53529.1000...@warpmail.net



Re: /usr/bin/qjackctl and pasuspender on Wheezy

2012-05-29 Thread Kaj Ailomaa

On 05/29/2012 08:19 PM, Felipe Sateler wrote:

I'm not an expert in JACK, so hopefully someone will correct me if I'm wrong...

On Tue, May 29, 2012 at 12:52 PM, Kaj Ailomaa  wrote:


Not being a scripting wizard, I'm not able to understand how
/usr/bin/qjackctl works.

Is PA supposed to be suspended at some point?


Only if you have jackd2 with dbus support (like the jackd2 package in debian).


I can't figure out if it is because of /usr/bin/qjackctl at any point.


AFAIK, no. It is the jack daemon that negotiates the sound card with
PA, qjackctl just starts and stops it. This information is all based
on last time I tried automatic negotiation, which was a while ago.
If PA is already using the sound card (say, your mp3 player is
running), the negotiation will fail and PA will not let jackd have
control of the sound card. In other words, jack asks "pretty please,
can I have the sound card?", and PA decides wether to do it or not.



There is some pasuspender stuff in the /usr/bin/qjackctl starter script.
In the past, starting qjackctl suspended PA. Now it doesn't. What does 
the pasuspender stuff in the script do for us now?


I talked with someone who had a problem suspending PA by starting 
jackdbus from qjackctl, after having removed pulseaudio-module-jack.
For me, this is not the case, so perhaps he provided me with wrong 
information. Qjackctl, with or without dbus enabled, will suspend PA 
when I have set jack to use the same output as PA is using.





I realize, if wanting to use pulseaudio-module-jack, you don't want PA to
get suspended. But what if you uninstall it, or disable d-bus in qjackctl
(in effect starting jackd instead of jackdmp)?


I've never installed pulseaudio-module-jack, but from what I
understand it is not very useful, since pulseaudio is much higher
latency than jack.




--
To UNSUBSCRIBE, email to debian-multimedia-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4fc530e2.7030...@warpmail.net



Re: /usr/bin/qjackctl and pasuspender on Wheezy

2012-05-29 Thread Felipe Sateler
On Tue, May 29, 2012 at 2:26 PM, Adrian Knoth  
wrote:
> On 05/29/2012 08:19 PM, Felipe Sateler wrote:
>
>>> I realize, if wanting to use pulseaudio-module-jack, you don't want PA to
>>> get suspended. But what if you uninstall it, or disable d-bus in qjackctl
>>> (in effect starting jackd instead of jackdmp)?
>>
>> I've never installed pulseaudio-module-jack, but from what I
>> understand it is not very useful, since pulseaudio is much higher
>> latency than jack.
>
>
> pulseaudio-module-jack is cool. You have jackd running on the real
> soundcard and then use pulseaudio-module-jack to bridge to consumer
> apps, that is, to make jackd the audio backend for pulseaudio.
>
> Works like a charm over here, mplayer, flash and basically everything
> that is not jack is playing via pulseaudio and pulseaudio-module-jack to
> the permanently running jackd. A pretty popular setup AFAIK.

Aha, looks like it works the other way around then. I thought it was
plugin for making jack output to PA.

-- 

Saludos,
Felipe Sateler


-- 
To UNSUBSCRIBE, email to debian-multimedia-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/caafdzj8uk5x-x5x1qzk5pvuq_b4betinqkilesyx9nomtzt...@mail.gmail.com



Re: /usr/bin/qjackctl and pasuspender on Wheezy

2012-05-29 Thread Adrian Knoth

On 05/29/2012 08:19 PM, Felipe Sateler wrote:


I realize, if wanting to use pulseaudio-module-jack, you don't want PA to
get suspended. But what if you uninstall it, or disable d-bus in qjackctl
(in effect starting jackd instead of jackdmp)?

I've never installed pulseaudio-module-jack, but from what I
understand it is not very useful, since pulseaudio is much higher
latency than jack.


pulseaudio-module-jack is cool. You have jackd running on the real
soundcard and then use pulseaudio-module-jack to bridge to consumer
apps, that is, to make jackd the audio backend for pulseaudio.

Works like a charm over here, mplayer, flash and basically everything
that is not jack is playing via pulseaudio and pulseaudio-module-jack to
the permanently running jackd. A pretty popular setup AFAIK.


Just my €0.02


--
To UNSUBSCRIBE, email to debian-multimedia-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4fc514d0.4080...@drcomp.erfurt.thur.de



Re: /usr/bin/qjackctl and pasuspender on Wheezy

2012-05-29 Thread Felipe Sateler
I'm not an expert in JACK, so hopefully someone will correct me if I'm wrong...

On Tue, May 29, 2012 at 12:52 PM, Kaj Ailomaa  wrote:
>
> Not being a scripting wizard, I'm not able to understand how
> /usr/bin/qjackctl works.
>
> Is PA supposed to be suspended at some point?

Only if you have jackd2 with dbus support (like the jackd2 package in debian).

> I can't figure out if it is because of /usr/bin/qjackctl at any point.

AFAIK, no. It is the jack daemon that negotiates the sound card with
PA, qjackctl just starts and stops it. This information is all based
on last time I tried automatic negotiation, which was a while ago.
If PA is already using the sound card (say, your mp3 player is
running), the negotiation will fail and PA will not let jackd have
control of the sound card. In other words, jack asks "pretty please,
can I have the sound card?", and PA decides wether to do it or not.

>
> I realize, if wanting to use pulseaudio-module-jack, you don't want PA to
> get suspended. But what if you uninstall it, or disable d-bus in qjackctl
> (in effect starting jackd instead of jackdmp)?

I've never installed pulseaudio-module-jack, but from what I
understand it is not very useful, since pulseaudio is much higher
latency than jack.

-- 

Saludos,
Felipe Sateler


-- 
To UNSUBSCRIBE, email to debian-multimedia-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAAfdZj_ddZBzVj8i+f1kD6B6wXhmy2a0FdyR2npXJTBVDFii=a...@mail.gmail.com



/usr/bin/qjackctl and pasuspender on Wheezy

2012-05-29 Thread Kaj Ailomaa
Not being a scripting wizard, I'm not able to understand how 
/usr/bin/qjackctl works.


Is PA supposed to be suspended at some point?
I can't figure out if it is because of /usr/bin/qjackctl at any point.

I realize, if wanting to use pulseaudio-module-jack, you don't want PA 
to get suspended. But what if you uninstall it, or disable d-bus in 
qjackctl (in effect starting jackd instead of jackdmp)?



--
To UNSUBSCRIBE, email to debian-multimedia-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4fc4febf.3020...@warpmail.net