[pulseaudio-tickets] [Bug 81075] New: pa_simple_get_latency() doesnt consider the buffer used by pa_simple_read()

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jul 8 20:19:20 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=81075

          Priority: medium
            Bug ID: 81075
                CC: lennart at poettering.net
          Assignee: pulseaudio-bugs at lists.freedesktop.org
           Summary: pa_simple_get_latency() doesnt consider the buffer
                    used by pa_simple_read()
        QA Contact: pulseaudio-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: michaelni at gmx.at
          Hardware: x86-64 (AMD64)
            Status: NEW
           Version: unspecified
         Component: misc
           Product: PulseAudio

When trying to assign wallclock timestamps to recorded audio from the simple
API, I noticed that latencies from pa_simple_get_latency() seemed behaving more
oddly than expected. The issue was solved/worked around by using the "not
simple" API.
>From looking at simple.c it seems that the p->read_data / p->read_length buffer
used in pa_simple_read() isnt considered in pa_simple_get_latency(). Which
would explain the issue ive seen with latencies

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20140709/7d89d5b5/attachment.html>


More information about the pulseaudio-bugs mailing list