Home
last modified time | relevance | path

Searched refs:new_hw_ptr (Results 1 – 3 of 3) sorted by relevance

/linux/sound/core/
H A Dpcm_lib.c64 void snd_pcm_playback_silence(struct snd_pcm_substream *substream, snd_pcm_uframes_t new_hw_ptr) in snd_pcm_playback_silence() argument
75 if (new_hw_ptr == ULONG_MAX) in snd_pcm_playback_silence()
76 new_hw_ptr = runtime->status->hw_ptr; in snd_pcm_playback_silence()
78 noise_dist = appl_ptr - new_hw_ptr; in snd_pcm_playback_silence()
94 if (new_hw_ptr == ULONG_MAX) { in snd_pcm_playback_silence()
113 update_silence_vars(runtime, hw_ptr, new_hw_ptr); in snd_pcm_playback_silence()
291 snd_pcm_uframes_t old_hw_ptr, new_hw_ptr, hw_base; in snd_pcm_update_hw_ptr0() local
342 new_hw_ptr = hw_base + pos; in snd_pcm_update_hw_ptr0()
347 if (delta > new_hw_ptr) { in snd_pcm_update_hw_ptr0()
356 new_hw_ptr = hw_base + pos; in snd_pcm_update_hw_ptr0()
[all …]
H A Dpcm_local.h33 snd_pcm_uframes_t new_hw_ptr);
/linux/sound/xen/
H A Dxen_snd_front_alsa.c575 snd_pcm_uframes_t delta, new_hw_ptr, cur_frame; in xen_snd_front_alsa_handle_cur_pos() local
582 new_hw_ptr = (snd_pcm_uframes_t)atomic_read(&stream->hw_ptr); in xen_snd_front_alsa_handle_cur_pos()
583 new_hw_ptr = (new_hw_ptr + delta) % substream->runtime->buffer_size; in xen_snd_front_alsa_handle_cur_pos()
584 atomic_set(&stream->hw_ptr, (int)new_hw_ptr); in xen_snd_front_alsa_handle_cur_pos()