module-loopback can be loaded multiple times, causing echo
Pipewire 0.35 / Gentoo / KDE
Just as the title says. When loading the loopback module via command line, the module can be loaded more than once. Each time you load the module, you get an echo of the playing stream.
Not sure there is any use case for loading the module multiple times, or if there's any way to do it on accident rather than manually, but
Steps to Reproduce:
- Load the loopback module (
pactl load-module module-loopback)
- Start playing audio on a looped device (I'm playing audio from my line-in)
- Load the loopaback module again.
The module should only need to be loaded once, and should just ignore loading if a second request is made. If there is some use for loading it multiple times, it should probably be behind an option instead of by default.