mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
node-driver: remove timers when not a driver
This commit is contained in:
parent
45c045382e
commit
35194d6de0
2 changed files with 91 additions and 27 deletions
|
|
@ -1623,6 +1623,7 @@ int spa_alsa_reassign_follower(struct state *state)
|
|||
SPA_FLAG_IS_SET(state->position->clock.flags, SPA_IO_CLOCK_FLAG_FREEWHEEL);
|
||||
|
||||
if (state->freewheel != freewheel) {
|
||||
spa_log_debug(state->log, NAME" %p: freewheel %d->%d", state, state->freewheel, freewheel);
|
||||
state->freewheel = freewheel;
|
||||
if (freewheel)
|
||||
snd_pcm_pause(state->hndl, 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue