Lines Matching refs:pcm_pos
50 static uint64_t pcm_pos;
208 if (pcm_pos < pcm_pkt_head->rtptime)
210 pcm_pos += AIRTUNES_V2_PACKET_SAMPLES;
214 else if ((pcm_status != LAUDIO_RUNNING) && (pcm_pos >= pcm_start_pos))
268 pcm_pos += nsamp;
295 if (pcm_pos == 0)
303 return pcm_pos;
306 return pcm_pos - delay;
357 /* Make pcm_pos the rtptime of the packet containing cur_pos */
358 pcm_pos = next_pkt;
359 while (pcm_pos > cur_pos)
360 pcm_pos -= AIRTUNES_V2_PACKET_SAMPLES;
365 pcm_pos += pcm_buf_threshold;
367 DPRINTF(E_DBG, L_LAUDIO, "PCM pos %" PRIu64 ", start pos %" PRIu64 "\n", pcm_pos, pcm_start_pos);
608 pcm_pos = 0;