mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
Added min/max events in audio service to notify subscribers when audio limit is reached
This commit is contained in:
@@ -251,6 +251,14 @@ Variants {
|
||||
showOSD(OSD.Type.Volume);
|
||||
}
|
||||
|
||||
function onVolumeAtMaximum() {
|
||||
showOSD(OSD.Type.Volume);
|
||||
}
|
||||
|
||||
function onVolumeAtMinimum() {
|
||||
showOSD(OSD.Type.Volume);
|
||||
}
|
||||
|
||||
function onMutedChanged() {
|
||||
if (AudioService.consumeOutputOSDSuppression())
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user