Searched refs:appl_ptr (Results 1 – 3 of 3) sorted by relevance
474 frames = hw_ptr - pcm->mmap_control->appl_ptr; in pcm_get_htimestamp()476 frames = hw_ptr + pcm->buffer_size - pcm->mmap_control->appl_ptr; in pcm_get_htimestamp()1090 avail = pcm->mmap_status->hw_ptr + pcm->buffer_size - pcm->mmap_control->appl_ptr; in pcm_mmap_playback_avail()1102 int avail = pcm->mmap_status->hw_ptr - pcm->mmap_control->appl_ptr; in pcm_mmap_capture_avail()1119 unsigned int appl_ptr = pcm->mmap_control->appl_ptr; in pcm_mmap_appl_forward() local1120 appl_ptr += frames; in pcm_mmap_appl_forward()1123 if (appl_ptr > pcm->boundary) in pcm_mmap_appl_forward()1124 appl_ptr -= pcm->boundary; in pcm_mmap_appl_forward()1125 pcm->mmap_control->appl_ptr = appl_ptr; in pcm_mmap_appl_forward()1137 *offset = pcm->mmap_control->appl_ptr % pcm->buffer_size; in pcm_mmap_begin()[all …]
8 PURPOSE = 'Test that simple ALSA API succeeds to move appl_ptr.'18 Check ALSA API succeeds to move appl_ptr.
462 snd_pcm_uframes_t appl_ptr; /* appl ptr */ member486 snd_pcm_uframes_t appl_ptr; /* RW: appl ptr (0...boundary-1) */ member