mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
stream: call latency_update callback
This commit is contained in:
parent
5037a97690
commit
cde6b99890
1 changed files with 5 additions and 1 deletions
|
|
@ -1337,10 +1337,14 @@ static void on_timing_success(pa_operation *o, void *userdata)
|
||||||
pa_stream *s = o->stream;
|
pa_stream *s = o->stream;
|
||||||
|
|
||||||
update_timing_info(s);
|
update_timing_info(s);
|
||||||
pa_operation_done(o);
|
|
||||||
|
if (s->latency_update_callback)
|
||||||
|
s->latency_update_callback(s, s->latency_update_userdata);
|
||||||
|
|
||||||
if (d->cb)
|
if (d->cb)
|
||||||
d->cb(s, s->timing_info_valid, d->userdata);
|
d->cb(s, s->timing_info_valid, d->userdata);
|
||||||
|
|
||||||
|
pa_operation_done(o);
|
||||||
}
|
}
|
||||||
|
|
||||||
SPA_EXPORT
|
SPA_EXPORT
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue