alsa: use min_latency when no position is given

This commit is contained in:
Wim Taymans 2019-01-16 17:38:28 +01:00
parent 92e9d99d0a
commit e4bde73552

View file

@ -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) {