mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
alsa-plugin: store the right value in last_seq
last_seq needs to contain the last received seq, not the last one that we requested to sync on.
This commit is contained in:
parent
3f6521819f
commit
cefcc2e874
1 changed files with 1 additions and 1 deletions
|
|
@ -1211,7 +1211,7 @@ static void on_core_done(void *data, uint32_t id, int seq)
|
||||||
if (id != PW_ID_CORE)
|
if (id != PW_ID_CORE)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
ctl->last_seq = ctl->pending_seq;
|
ctl->last_seq = seq;
|
||||||
if (seq == ctl->pending_seq) {
|
if (seq == ctl->pending_seq) {
|
||||||
pipewire_update_volume(ctl);
|
pipewire_update_volume(ctl);
|
||||||
pw_thread_loop_signal(ctl->mainloop, false);
|
pw_thread_loop_signal(ctl->mainloop, false);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue