• Home
  • Raw
  • Download

Lines Matching refs:appl_ptr

315 	snd_pcm_uframes_t appl_ptr, size, transfer;  in snd_pcm_dmix_sync_area()  local
322 size = pcm_frame_diff2(dmix->appl_ptr, dmix->last_appl_ptr, pcm->boundary); in snd_pcm_dmix_sync_area()
337 size = pcm_frame_diff2(dmix->appl_ptr, dmix->last_appl_ptr, pcm->boundary); in snd_pcm_dmix_sync_area()
360 appl_ptr = dmix->last_appl_ptr % pcm->buffer_size; in snd_pcm_dmix_sync_area()
369 if (appl_ptr + transfer > pcm->buffer_size) in snd_pcm_dmix_sync_area()
370 transfer = pcm->buffer_size - appl_ptr; in snd_pcm_dmix_sync_area()
373 mix_areas(dmix, src_areas, dst_areas, appl_ptr, slave_appl_ptr, transfer); in snd_pcm_dmix_sync_area()
379 appl_ptr += transfer; in snd_pcm_dmix_sync_area()
380 appl_ptr %= pcm->buffer_size; in snd_pcm_dmix_sync_area()
495 status->appl_ptr = *pcm->appl.ptr; /* slave PCM doesn't set appl_ptr */ in snd_pcm_dmix_status()
555 dmix->appl_ptr = dmix->last_appl_ptr = dmix->hw_ptr; in snd_pcm_dmix_reset()
698 snd_pcm_uframes_t appl_ptr, size, transfer, result, frames_to_remix; in snd_pcm_dmix_rewind() local
716 size = pcm_frame_diff(dmix->last_appl_ptr, dmix->appl_ptr, pcm->boundary); in snd_pcm_dmix_rewind()
728 size = pcm_frame_diff(dmix->appl_ptr, dmix->hw_ptr, pcm->boundary); in snd_pcm_dmix_rewind()
745 appl_ptr = dmix->last_appl_ptr % pcm->buffer_size; in snd_pcm_dmix_rewind()
752 if (appl_ptr + transfer > pcm->buffer_size) in snd_pcm_dmix_rewind()
753 transfer = pcm->buffer_size - appl_ptr; in snd_pcm_dmix_rewind()
756 remix_areas(dmix, src_areas, dst_areas, appl_ptr, slave_appl_ptr, transfer); in snd_pcm_dmix_rewind()
762 appl_ptr += transfer; in snd_pcm_dmix_rewind()
763 appl_ptr %= pcm->buffer_size; in snd_pcm_dmix_rewind()
1127 snd_pcm_set_appl_ptr(pcm, &dmix->appl_ptr, -1, 0); in snd_pcm_dmix_open()