JosephDuffy / homebridge-pc-volume

Homebridge plugin to control your computer's volume using HomeKit and Siri
MIT License
58 stars 8 forks source link

More audio outputs. #851

Open Jakes9 opened 1 year ago

Jakes9 commented 1 year ago

Hello, is it possible to add an option to set more sliders for specific audio devices connected to one pc like bluetooth speakers. Maybe it possible to add to configure options device setting like default seting, or audio device name like connected speakers to pc?

JosephDuffy commented 1 year ago

This sounds like a reasonable idea. Maybe an array of device identifiers could be provided in the configuration and each one will have its own controls.

This is a wrapper around loudness, which uses the default device: https://github.com/LinusU/node-loudness/blob/444a4cd94cde3e1d7b3bad40433bb17b9de7eb76/impl/linux.js#L47 To implement this, loudness would first need to be updated.

I don't have the time to work on this project, especially since I no longer have a need for it myself. I'll leave this open in case anyone wants to work on implementing it.