Feature: add --volume-controller, which enables LVA to use pipewire for master volume control. USB audio natively with LVA!#272
Conversation
|
Thank you for putting this behind a flag - I would not want the default behavior to be changing hardware device volume, because I share that hardware device with multiple applications that each need a different volume level |
|
Yup! I need only libmpv volume for my setup. But good option to have. |
|
While seeing the need for this feature i rather want to have it as an addon. We want to make the code more modular and i would like to move this into the backlog until we have that done. |
i get that, but since modifying the calls to libmpv code is a bit invasive (since i have to prevent calls to libmpv's volume!), it would be hard to do this purely modularly. it is behind a flag that is off by default after all. unless the set_volume function (which didn't even fully exist till i added it) could be pulled out and overridden, this would be hard to modularize |
|
We're working on sending external commands to LVA that can control volume, so wouldn't this one help? #266 |
# Conflicts: # Dockerfile # linux_voice_assistant/entity.py
|
ok these new commits make it so it doesn't depend on wireplumber anymore, it purely uses |
# Conflicts: # README.md # docker-entrypoint.sh # docs/additional_audio_settings.md # docs/install_application.md # linux_voice_assistant/__main__.py
instead of setting libmpv volumes, it sets the external pipewire sink directly. the main benefit of this is that pipewire integrates with ALSA which integrates with USB devices, so you can look at and see changes to the LVA volume from USB audio devices
demo:
PXL_20260327_214123047.mp4