Mute the mic in the system when the headset mute button is being pressed

This commit is contained in:
2022-02-17 00:35:25 +01:00
parent 7844d4f6eb
commit fee6f14ab0
3 changed files with 45 additions and 30 deletions

View File

@@ -8,5 +8,5 @@ edition = "2021"
[dependencies]
hidapi = {version="1.3.3", default-features=false, features=["linux-shared-hidraw"]}
libpulse-binding = "2.26.0"
pulsectl-rs = "0.3.2"
pulsectl-rs = {git = "https://github.com/manuelVo/pulsectl-rs.git", branch="sink-source-name-mixup"}
thiserror = "1.0.30"