FEAT: add MPRIS for music attenuation support on linux

This commit is contained in:
zydezu committed 2026-08-30 19:17:58 +01:00
1 parent 9a22de1079
commit 1c7e4e79c5
4 files changed
+270 -7

No files matched your search

+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;