summaryrefslogtreecommitdiff
path: root/pipewire-jack
diff options
context:
space:
mode:
Diffstat (limited to 'pipewire-jack')
-rw-r--r--pipewire-jack/src/pipewire-jack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pipewire-jack/src/pipewire-jack.c b/pipewire-jack/src/pipewire-jack.c
index c921d042..fcf8e31a 100644
--- a/pipewire-jack/src/pipewire-jack.c
+++ b/pipewire-jack/src/pipewire-jack.c
@@ -1015,9 +1015,9 @@ static inline uint32_t cycle_run(struct client *c)
check_buffer_frames(c);
check_sample_rate(c);
- c->jack_state = position_to_jack(driver, &c->jack_position);
-
if (SPA_LIKELY(driver)) {
+ c->jack_state = position_to_jack(driver, &c->jack_position);
+
if (SPA_UNLIKELY(activation->pending_sync)) {
if (c->sync_callback == NULL ||
c->sync_callback(c->jack_state, &c->jack_position, c->sync_arg))