[pulseaudio-discuss] Working with PA and jack
Patrick Shirkey
pshirkey at boosthardware.com
Fri May 22 00:20:32 PDT 2009
Ng Oon-Ee wrote:
> Hi Patrick,
>
> That original ML post was from myself. In the time since then, I've been
> working on my scripts, and have got them working reasonably *sometimes*.
> Agree that this needs work.
>
>
Thanks for you reply. It's good to know that progress is being made.
FYI, I have received another report suggesting that pulse combined with
jackdbus has this problem fixed which I intend to test asap.
> Currently what I'm doing, which is just a bit hackish, is to use pactl
> list to get the IDs of the alsa sink/source, unloading them via pactl
> unload-module, then starting JACK and loading the appropriate
> module-jack-sink/source.
>
Can you provide a command line for this that works for you please? I
would like to test it here.
> In the reverse, again pactl list to get the relevant IDs, unload via
> pactl unload-module, then loading the ALSA modules.
>
> This actually works most of the time, but there's a segmentation fault
> that I've encountered recently when unloading the jack modules while
> sound is playing. The bug report with traces has been submitted at
> http://www.pulseaudio.org/ticket/560 and Lennart will be getting round
> to it.
>
> On Tue, 2009-05-19 at 11:37 +0700, Patrick Shirkey wrote:
>
>> Hi,
>>
>> After some discussion on the LAU lists over the past couple of years it would appear their is a usability issue that is giving PA a bad reputation as a pita.
>>
>> I believe it boils down to this previously posted problem.
>>
>> https://tango.0pointer.de/pipermail/pulseaudio-discuss/2008-November/002603.html
>>
>> I would like to get some feedback on why exactly PA is not currently able to autoreconfigure itself to play nicely with jack out of the box.
>>
>> Currently I am forced to use a seperate config file for running jack and also have been suggested to use pasuspender before runing jackd.
>>
>> I have seen that many people use pasuspender to completely disable PA but I would like to get PA to automatically give up control of the audio device and connect to jack if jack is run and then if jack is stopped to regain control of the audio device.
>>
>> I think this would make a big difference for a lot of professional audio users and would go a long way to making pulse audio a more user friendly tool.
>>
>> It would seem that with pasuspender the solution is very close. In fact it looks like "pasuspender -s jack" might work except that for me it doesn't. I haven't found any details online for using pasuspender -s option and the man page doesn't supply any useful details.
>>
>> Now, just to be clear, I have been working with Linux Audio for over 10 years and am quite capable of running a system without PA. However I have undertaken this project as I am tired of hearing people bash PA without actually looking at the core problem. Also I would like to point out that if I am having a problem with this process then desktop users who are the reason for PA's existance must really be struggling.
>>
>> I would like to see this issue resolved quickly if possible as it will alleviate a huge negative feedback issue that is IMO opinion affecting the whole of the Linux Desktop experience. Afterall most people use the desktop for multimedia and PA is a conerstone of the platform.
>>
>> Using PA and jack together should be a seamless experience with PA ceding gracefully to jack when it is started.
>>
>>
>>
>> Cheers.
>>
>>
>>
>
> _______________________________________________
> pulseaudio-discuss mailing list
> pulseaudio-discuss at mail.0pointer.de
> https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
>
More information about the pulseaudio-discuss
mailing list