Bug 69132

Summary: The native protocol reports too low latencies for streams connected to monitor sources
Product: PulseAudio Reporter: Tanu Kaskinen <tanuk>
Component: modulesAssignee: pulseaudio-bugs
Status: RESOLVED MOVED QA Contact: pulseaudio-bugs
Severity: normal    
Priority: medium CC: lennart
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Tanu Kaskinen 2013-09-09 08:27:55 UTC
When the native protocol gathers the timing information for capture streams in the SOURCE_OUTPUT_MESSAGE_UPDATE_LATENCY handler, it doesn't call pa_source_output_get_latency_within_thread(). This means that data in pa_source_output.delay_memblockq isn't taken into account in the latency calculation, resulting in the latency reports being too low. The delay memblockq only contains data for streams that are connected to monitor sources, though, so the impact of this bug is limited to those streams.

This bug report is only based on reading the code, I haven't done experiments that would prove that there really is a bug.
Comment 1 GitLab Migration User 2018-07-30 09:59:27 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/152.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.