u/djmattyg007

Customising configuration lookup environment variables

The man page for pipewire.conf mentions the following environment variables:

  • PIPEWIRE_CONFIG_DIR
  • PIPEWIRE_CONFIG_PREFIX
  • PIPEWIRE_CONFIG_NAME

But it doesn't actually mention what they do, or provide any examples for how they impact configuration lookup. Is anyone able to shed some light on how they impact configuration lookup (ideally with examples)?

reddit.com
u/djmattyg007 — 2 days ago

How to dynamically create loopback devices after Pipewire starts

I'm looking to dynamically create loopback devices after Pipewire starts (meaning I can't just use a config file, and I'm in a situation where I can't restart Pipewire).

I can successfully create a loopback device with `pw-loopback`, or `pw-cli --monitor load-module libpipewire-module-loopback`. However, these commands stay alive, and destroy the loopback device they created when the program terminates. This isn't ideal.

How can I create a loopback device such that it stays alive after the command used to create it terminates? I want the Pipewire daemon to take ownership of the device as soon as it's created.

reddit.com
u/djmattyg007 — 17 days ago