mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
jack: only do transport when there is a driver
This commit is contained in:
parent
b17ff6e2ad
commit
2e06d0819b
1 changed files with 2 additions and 2 deletions
|
|
@ -1015,9 +1015,9 @@ static inline uint32_t cycle_run(struct client *c)
|
||||||
check_buffer_frames(c);
|
check_buffer_frames(c);
|
||||||
check_sample_rate(c);
|
check_sample_rate(c);
|
||||||
|
|
||||||
c->jack_state = position_to_jack(driver, &c->jack_position);
|
|
||||||
|
|
||||||
if (SPA_LIKELY(driver)) {
|
if (SPA_LIKELY(driver)) {
|
||||||
|
c->jack_state = position_to_jack(driver, &c->jack_position);
|
||||||
|
|
||||||
if (SPA_UNLIKELY(activation->pending_sync)) {
|
if (SPA_UNLIKELY(activation->pending_sync)) {
|
||||||
if (c->sync_callback == NULL ||
|
if (c->sync_callback == NULL ||
|
||||||
c->sync_callback(c->jack_state, &c->jack_position, c->sync_arg))
|
c->sync_callback(c->jack_state, &c->jack_position, c->sync_arg))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue