mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
introspect: implement enough to make gnome-control-center work
We can see sources and sink and change the volume/mute of streams
This commit is contained in:
parent
faccc8d506
commit
01aa9a5960
4 changed files with 76 additions and 21 deletions
|
|
@ -793,6 +793,7 @@ static int create_stream(pa_stream_direction_t direction,
|
|||
s->volume = pa_cvolume_avg(volume) / (float) PA_VOLUME_NORM;
|
||||
else
|
||||
s->volume = 1.0;
|
||||
s->mute = false;
|
||||
|
||||
pa_stream_set_state(s, PA_STREAM_CREATING);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue