feat: pulseaudio slider module

This commit is contained in:
Brenno Lemos
2023-10-15 11:32:05 -03:00
parent c9e129cda2
commit 442a4b0da0
9 changed files with 221 additions and 2 deletions

View File

@ -66,7 +66,7 @@ class AudioBackend {
AudioBackend(std::function<void()> on_updated_cb, private_constructor_tag tag);
~AudioBackend();
void changeVolume(uint16_t volume, uint16_t max_volume = 100);
void changeVolume(uint16_t volume, uint16_t min_volume = 0, uint16_t max_volume = 100);
void changeVolume(ChangeType change_type, double step = 1, uint16_t max_volume = 100);
void setIgnoredSinks(const Json::Value& config);