mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:57:43 +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:
parent
60fa8ac109
commit
c78a8b94c5
9 changed files with 22 additions and 22 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue