mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:07:36 +00:00
Userland: Update IPC calls to use proxies
This updates all existing code to use the auto-generated client methods instead of post_message/send_sync.
This commit is contained in:
parent
78803ce384
commit
5bb79ea0a7
63 changed files with 303 additions and 316 deletions
|
@ -46,17 +46,17 @@ void ClientConnection::die()
|
|||
|
||||
void ClientConnection::did_finish_playing_buffer(Badge<BufferQueue>, int buffer_id)
|
||||
{
|
||||
post_message(Messages::AudioClient::FinishedPlayingBuffer(buffer_id));
|
||||
async_finished_playing_buffer(buffer_id);
|
||||
}
|
||||
|
||||
void ClientConnection::did_change_muted_state(Badge<Mixer>, bool muted)
|
||||
{
|
||||
post_message(Messages::AudioClient::MutedStateChanged(muted));
|
||||
async_muted_state_changed(muted);
|
||||
}
|
||||
|
||||
void ClientConnection::did_change_main_mix_volume(Badge<Mixer>, int volume)
|
||||
{
|
||||
post_message(Messages::AudioClient::MainMixVolumeChanged(volume));
|
||||
async_main_mix_volume_changed(volume);
|
||||
}
|
||||
|
||||
void ClientConnection::greet()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue