mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-17 08:56:49 -05:00
alsa: adjust latency based on buffer size
This commit is contained in:
parent
d5e658e8f9
commit
b8a37381da
3 changed files with 27 additions and 10 deletions
|
|
@ -705,8 +705,6 @@ int spa_alsa_start(struct state *state, bool xrun_recover)
|
|||
state->source.rmask = 0;
|
||||
spa_loop_add_source(state->data_loop, &state->source);
|
||||
|
||||
state->threshold = state->props.min_latency;
|
||||
|
||||
if (state->stream == SND_PCM_STREAM_PLAYBACK) {
|
||||
state->alsa_started = false;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue