Searched refs:sync_ptr (Results 1 – 5 of 5) sorted by relevance
399 struct snd_pcm_sync_ptr *sync_ptr = pcm->sync_ptr; in pcm_avail() local402 sync_ptr->s.status.hw_ptr, in pcm_avail()404 sync_ptr->c.control.appl_ptr); in pcm_avail()407 long avail = sync_ptr->s.status.hw_ptr - sync_ptr->c.control.appl_ptr; in pcm_avail()412 …long avail = sync_ptr->s.status.hw_ptr - sync_ptr->c.control.appl_ptr + ((pcm->flags & PCM_MONO) ?… in pcm_avail()421 int sync_ptr(struct pcm *pcm) in sync_ptr() function424 err = ioctl(pcm->fd, SNDRV_PCM_IOCTL_SYNC_PTR, pcm->sync_ptr); in sync_ptr()462 struct snd_pcm_sync_ptr *sync_ptr = pcm->sync_ptr; in dst_address() local465 …appl_ptr = (pcm->flags & PCM_MONO) ? sync_ptr->c.control.appl_ptr*2 : sync_ptr->c.control.appl_ptr… in dst_address()474 struct snd_pcm_sync_ptr *sync_ptr = pcm->sync_ptr; in mmap_transfer() local[all …]
262 struct snd_pcm_sync_ptr *sync_ptr1 = pcm->sync_ptr; in play_file()293 …pcm->sync_ptr->flags = SNDRV_PCM_SYNC_PTR_APPL | SNDRV_PCM_SYNC_PTR_AVAIL_MIN;//SNDRV_PCM_SYNC_PTR… in play_file()294 err = sync_ptr(pcm); in play_file()327 pcm->sync_ptr->s.status.hw_ptr, in play_file()329 pcm->sync_ptr->c.control.appl_ptr); in play_file()361 pcm->sync_ptr->c.control.appl_ptr += frames; in play_file()362 pcm->sync_ptr->flags = 0; in play_file()364 err = sync_ptr(pcm); in play_file()375 pcm->sync_ptr->s.status.hw_ptr, in play_file()376 pcm->sync_ptr->c.control.appl_ptr); in play_file()[all …]
233 struct snd_pcm_sync_ptr *sync_ptr1 = pcm->sync_ptr; in record_file()285 …pcm->sync_ptr->flags = SNDRV_PCM_SYNC_PTR_APPL | SNDRV_PCM_SYNC_PTR_AVAIL_MIN;//SNDRV_PCM_SYNC_PTR… in record_file()286 err = sync_ptr(pcm); in record_file()325 pcm->sync_ptr->c.control.appl_ptr += frames; in record_file()326 pcm->sync_ptr->flags = 0; in record_file()327 err = sync_ptr(pcm); in record_file()
39 struct snd_pcm_sync_ptr *sync_ptr; member142 int sync_ptr(struct pcm *pcm);
471 musbRecordingHandle->sync_ptr->flags = SNDRV_PCM_SYNC_PTR_APPL | in RecordingThreadEntry()508 mproxyRecordingHandle->sync_ptr->flags = SNDRV_PCM_SYNC_PTR_APPL | in RecordingThreadEntry()537 musbRecordingHandle->sync_ptr->c.control.appl_ptr += frames; in RecordingThreadEntry()538 musbRecordingHandle->sync_ptr->flags = 0; in RecordingThreadEntry()549 mproxyRecordingHandle->sync_ptr->c.control.appl_ptr += frames; in RecordingThreadEntry()550 mproxyRecordingHandle->sync_ptr->flags = 0; in RecordingThreadEntry()559 …bytes_written = mproxyRecordingHandle->sync_ptr->c.control.appl_ptr - mproxyRecordingHandle->sync_… in RecordingThreadEntry()668 err = sync_ptr(handle); in syncPtr()886 mproxyPlaybackHandle->sync_ptr->flags = SNDRV_PCM_SYNC_PTR_APPL | in PlaybackThreadEntry()922 mproxyPlaybackHandle->sync_ptr->c.control.appl_ptr += frames; in PlaybackThreadEntry()[all …]