FEAT: add MPRIS for music attenuation support on linux

This commit is contained in:
zydezu
2026-08-29 22:38:12 +01:00
parent 9a22de1079
commit 1c7e4e79c5
4 changed files with 270 additions and 7 deletions
+3 -2
View File
@@ -4,8 +4,9 @@
namespace MusicAttenuation {
// Enables the optional Windows media-session integration. The monitor is
// started lazily the first time this is enabled.
// Enables the optional external-media integration (Windows media sessions,
// or MPRIS over D-Bus on Linux). The monitor is started lazily the first time
// this is enabled.
void SetEnabled(bool enabled) noexcept;
void SetMusicVolume(float volume) noexcept;
void SetSoundEffectsVolume(float volume) noexcept;