[LAU] Jack & pulse...knickers in a twist.

David Kastrup dak at gnu.org
Sun Jun 3 15:49:20 CEST 2018


Mac <ussndmac at charter.net> writes:

> Hi,
>
> Long story short, I am messing with my audio on a UbuntuStudio 16.04 laptop.
>
> I had it setup to use XUSB from my X32...
>
> I want to do some work without the X32, so I said, self, just fire up
> Qjackctl and set it back so the config with a Pulse sink/source and the
> system output is going to the local hardware.
>
> Except, the default config has been lost. After some messing around, I get
> the pulse source/sink, but audio is not routed to the local speakers (this
> is a laptop).
>
> Patchage shows the pulse sink connected to system/playback and if I play
> audio from an app (for example clementine) configured to the pulse sink, it
> shows signal in the Output Devices tab in volume control on the pulse sink.
>
> Basically, as far as I can tell, I've managed to screw up my audio config
> on this PC.
>
> I admit the sound configuration on linux has been my nemesis for years...
>
> After much googling and reading until eyes are blurry...I could use some
> ideas on what to look at or how to figure out what I f'd up.

Do pulseaudio applications work?

I route pulseaudio through Jack (meaning that the primary control of the
device rests with Jack) using the following script:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pulsejack
Type: application/octet-stream
Size: 259 bytes
Desc: not available
URL: <https://lists.linuxaudio.org/archives/linux-audio-user/attachments/20180603/d5fc0c43/attachment.obj>
-------------- next part --------------

It requires Pulseaudio to be already running and _not_ hogging the
device.  This can usually be achieved by firing up pavucontrol and
settings its operating mode to "Off" for the soundcard you want to
control via Jack.

Then you start up jackd in your usual way, following up by calling

pulsejack

without arguments, or you give the arguments with which you want to see
jackd started to the pulsejack script.

I don't see the point in letting Jack route things through Pulseaudio
rather than the other way round.  Jackd is good with exact timing and
realtime response, Pulseaudio is good with muddling along and making
things connect and work somehow.

-- 
David Kastrup


More information about the Linux-audio-user mailing list