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:
parent
e634fe6072
commit
60a7187db2
7 changed files with 24 additions and 1 deletions
|
@ -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());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue