mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
alsa: use min_latency when no position is given
This commit is contained in:
parent
92e9d99d0a
commit
e4bde73552
1 changed files with 2 additions and 0 deletions
|
|
@ -970,6 +970,8 @@ int spa_alsa_start(struct state *state)
|
|||
|
||||
if (state->position)
|
||||
state->threshold = state->position->size;
|
||||
else
|
||||
state->threshold = state->props.min_latency;
|
||||
|
||||
state->slaved = false;
|
||||
if (state->position && state->clock) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue