mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-29 21:33:35 -05:00
local audio: do not add pcm_buf_threshold to pcm_pos (leads to wrong
position in Remote)
This commit is contained in:
@@ -362,7 +362,7 @@ laudio_start(uint64_t cur_pos, uint64_t next_pkt)
|
|||||||
pcm_start_pos = next_pkt + pcm_buf_threshold;
|
pcm_start_pos = next_pkt + pcm_buf_threshold;
|
||||||
|
|
||||||
/* Compensate threshold, as it's taken into account by snd_pcm_delay() */
|
/* Compensate threshold, as it's taken into account by snd_pcm_delay() */
|
||||||
pcm_pos += pcm_buf_threshold;
|
//pcm_pos += pcm_buf_threshold;
|
||||||
|
|
||||||
DPRINTF(E_DBG, L_LAUDIO, "PCM pos %" PRIu64 ", start pos %" PRIu64 "\n", pcm_pos, pcm_start_pos);
|
DPRINTF(E_DBG, L_LAUDIO, "PCM pos %" PRIu64 ", start pos %" PRIu64 "\n", pcm_pos, pcm_start_pos);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user