mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 05:37:44 +00:00
AudioServer: Add a 'self_muted' state to each client connection
This new state will allow us to ignore muted clients when computing the 'output mix' in the Mixer.
This commit is contained in:
parent
ce5f5f543f
commit
bb747c471f
3 changed files with 18 additions and 0 deletions
|
@ -5,6 +5,8 @@ endpoint AudioServer
|
|||
// Mixer functions
|
||||
set_main_mix_muted(bool muted) => ()
|
||||
is_main_mix_muted() => (bool muted)
|
||||
set_self_muted(bool muted) => ()
|
||||
is_self_muted() => (bool muted)
|
||||
get_main_mix_volume() => (double volume)
|
||||
set_main_mix_volume(double volume) => ()
|
||||
get_self_volume() => (double volume)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue