local audio: do not add pcm_buf_threshold to pcm_pos (leads to wrong

position in Remote)
This commit is contained in:
chme 2014-05-17 15:40:25 +02:00
parent 4d79a85780
commit 74622904e3

View File

@ -362,7 +362,7 @@ laudio_start(uint64_t cur_pos, uint64_t next_pkt)
pcm_start_pos = next_pkt + pcm_buf_threshold;
/* 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);