mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-24 05:03:17 -05:00
Fix ALSA audio problem where threshold will not be reset because
commit 7462290 decreased the value of pcm_pos
This commit is contained in:
parent
27e7148405
commit
ca3fada215
@ -211,7 +211,7 @@ laudio_write(uint8_t *buf, uint64_t rtptime)
|
||||
|
||||
return;
|
||||
}
|
||||
else if ((pcm_status != LAUDIO_RUNNING) && (pcm_pos >= pcm_start_pos))
|
||||
else if ((pcm_status != LAUDIO_RUNNING) && (pcm_pos + pcm_buf_threshold >= pcm_start_pos))
|
||||
{
|
||||
/* Kill threshold */
|
||||
ret = laudio_set_start_threshold(0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user