mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:17:35 +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
|
@ -76,6 +76,11 @@ void ClientConnection::did_change_muted_state(Badge<Mixer>, bool muted)
|
|||
post_message(Messages::AudioClient::MutedStateChanged(muted));
|
||||
}
|
||||
|
||||
void ClientConnection::did_change_main_mix_volume(Badge<Mixer>, int volume)
|
||||
{
|
||||
post_message(Messages::AudioClient::MainMixVolumeChanged(volume));
|
||||
}
|
||||
|
||||
OwnPtr<Messages::AudioServer::GreetResponse> ClientConnection::handle(const Messages::AudioServer::Greet&)
|
||||
{
|
||||
return make<Messages::AudioServer::GreetResponse>(client_id());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue