mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-26 07:05:57 -05:00
local audio: do not add pcm_buf_threshold to pcm_pos (leads to wrong
position in Remote)
This commit is contained in:
parent
4d79a85780
commit
74622904e3
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user