1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:37: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

@ -161,7 +161,7 @@ void Mixer::set_muted(bool muted)
request_setting_sync();
ClientConnection::for_each([muted](ClientConnection& client) {
client.did_change_muted_state({}, muted);
client.did_change_main_mix_muted_state({}, muted);
});
}