1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:48:14 +00:00

AudioServer: Give the AudioClient a way to keep track of the main mix volume

This commit is contained in:
Benoît Lormeau 2020-07-21 03:16:48 +02:00 committed by Andreas Kling
parent e634fe6072
commit 60a7187db2
7 changed files with 24 additions and 1 deletions

View file

@ -116,4 +116,10 @@ void ClientConnection::handle(const Messages::AudioClient::MutedStateChanged& me
on_muted_state_change(message.muted());
}
void ClientConnection::handle(const Messages::AudioClient::MainMixVolumeChanged& message)
{
if (on_main_mix_volume_change)
on_main_mix_volume_change(message.volume());
}
}