refer to http://git.alsa-project.org/?p=alsa- lib.git;a=commitdiff;h=bd7b73a621a74de863f6d6f79af4131144e4f9fe;hp=73d20069e072e2b62bbc3ea12e46ae19d8b6cac9
PA developer 's definition is For capture the delay is defined as the time that a frame that was digitized by the audio device takes until it can be read from the PCM stream shortly after this call returns. It is as such the overall latency from the initial ADC to the read call. ALSA 's developer 's implementation http://git.alsa-project.org/?p=alsa- lib.git;a=commitdiff;h=fe5391c9da2212dc594d1ee7f366e55432af0454;hp=8d6838450a3c91e4a1fa8a7bf98fb1d9c39b131e brief Combine snd_pcm_avail and snd_pcm_delay functions param pcm PCM handle param avail Number of available frames in the ring buffer param delay Total I/O latency in frames return zero on success otherwise a negative error code PA server assume Total I/O latency in frames cannot be less than Number of available frames in the ring buffer is a bug of alsa-driver when hw_ptr = appl_ptr Sep 16 14:35:57 dub pulseaudio[2034]: alsa-util.c: snd_pcm_avail_delay() returned strange values: delay 0 is less than avail 16. Sep 16 14:35:57 dub pulseaudio[2034]: alsa-util.c: appl_ptr : 87328 Sep 16 14:35:57 dub pulseaudio[2034]: alsa-util.c: hw_ptr : 87328 -- pulseaudio[2034]: alsa-util.c: snd_pcm_avail_delay() returned strange values: delay 0 is less than avail 16. https://bugs.launchpad.net/bugs/640462 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs