diff options
Diffstat (limited to 'pipewire-pulseaudio/src/stream.c')
-rw-r--r-- | pipewire-pulseaudio/src/stream.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pipewire-pulseaudio/src/stream.c b/pipewire-pulseaudio/src/stream.c index b83aaa5a..4d1955bd 100644 --- a/pipewire-pulseaudio/src/stream.c +++ b/pipewire-pulseaudio/src/stream.c @@ -1337,10 +1337,14 @@ static void on_timing_success(pa_operation *o, void *userdata) pa_stream *s = o->stream; 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) d->cb(s, s->timing_info_valid, d->userdata); + + pa_operation_done(o); } SPA_EXPORT |