On Tue, Aug 13, 2024 at 05:36:08PM +0200, Robin Gareus wrote:
So you finally made the switch to jack2?
Jack1 is still occasionally running clients in the wrong
order, and while that may not affect most users it is a
real PITA for me. If such a fundamental problem still isn't
resolved more than 10 years after it was first reported
that doesn't inspire trust. Apart from that, Archlinux
moved Jack1 to the AUR, so there's no binary package for
it anymore.
Then I use the following script to launch applications
that i want to test
with pipewire:
```
#!/bin/bash
PW_SRC=$HOME/src/pipewire/
export SPA_PLUGIN_DIR=$PW_SRC/builddir/spa/plugins
export SPA_DATA_DIR=$PW_SRC/spa/plugins
export PIPEWIRE_MODULE_DIR=$PW_SRC/builddir/src/modules
export PIPEWIRE_CONFIG_DIR=$PW_SRC/builddir/src/daemon
export ACP_PATHS_DIR=$PW_SRC/spa/plugins/alsa/mixer/paths
export ACP_PROFILES_DIR=$PW_SRC/spa/plugins/alsa/mixer/profile-sets
export LD_LIBRARY_PATH=$PW_SRC/builddir/pipewire-jack/src/
export
PATH=$PW_SRC/builddir/pipewire-jack/src/:$PW_SRC/builddir/src/tools:$PATH
exec "$@"
```
e.g pw-src-env pw-jack Ardour8
All that to just run one application ?
And isn't this using PW as a Jack emulation ? That is not what I want
to do. All Jack apps should just use Jack. PW is there only for those
that for whatever reason do no support Jack natively - most browsers,
video conference apps, etc.
> 7. I do not expect anything 'automatic'
to happen when things
> are plugged in or out.
This is something where macOS' Coreaudio/MIDI
shines. Unlike macOS
Linux/ALSA has no persistent unique IDs for soundcards or MIDI devices. ALSA
supports hotplug, and first come first server sequential numeric IDs. The
best you^Wpipewire can do is keep track of cards by name.
So this is not something pipewire can reliably
address, until ALSA get
support to identify cards by vendor and serial-number, and provide a UUID.
You may have misunderstood (7). If the hardware changes I have no
problem with having to modify the config and restart everything.
All I meant is that I'm not interested in having the entire system
automagically switching to another sound card when some USB device
is plugged in or out, or anything similar.
Ciao,
--
FA