mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
when changing volume, store whether it is worth remembering or no
This commit is contained in:
parent
ee17772cea
commit
64b0543588
15 changed files with 70 additions and 41 deletions
|
|
@ -760,7 +760,7 @@ static int esd_proto_stream_pan(connection *c, esd_proto_t request, const void *
|
|||
volume.values[0] = (lvolume*PA_VOLUME_NORM)/ESD_VOLUME_BASE;
|
||||
volume.values[1] = (rvolume*PA_VOLUME_NORM)/ESD_VOLUME_BASE;
|
||||
volume.channels = 2;
|
||||
pa_sink_input_set_volume(conn->sink_input, &volume);
|
||||
pa_sink_input_set_volume(conn->sink_input, &volume, TRUE);
|
||||
ok = 1;
|
||||
} else
|
||||
ok = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue