1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:57:35 +00:00

Everywhere: Refactor 'muted' to 'main_mix_muted' in all AudioConnections

The 'muted' methods referred to the 'main mix muted' but it wasn't
really clear from the name. This change will be useful because in the
next commit, a 'self muted' state will be added to each audio client
connection.
This commit is contained in:
Elyse 2021-11-01 18:52:22 -06:00 committed by Brian Gianforcaro
parent 60fa8ac109
commit c78a8b94c5
9 changed files with 22 additions and 22 deletions

View file

@ -45,10 +45,10 @@ void ClientConnection::finished_playing_buffer(i32 buffer_id)
on_finish_playing_buffer(buffer_id);
}
void ClientConnection::muted_state_changed(bool muted)
void ClientConnection::main_mix_muted_state_changed(bool muted)
{
if (on_muted_state_change)
on_muted_state_change(muted);
if (on_main_mix_muted_state_change)
on_main_mix_muted_state_change(muted);
}
void ClientConnection::main_mix_volume_changed(double volume)