[pulseaudio-tickets] [Bug 42916] New: pa_simple_new(): default buffering attributes

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Nov 14 04:50:07 PST 2011


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

             Bug #: 42916
           Summary: pa_simple_new(): default buffering attributes
    Classification: Unclassified
           Product: PulseAudio
           Version: unspecified
          Platform: Other
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: clients
        AssignedTo: pulseaudio-bugs at lists.freedesktop.org
        ReportedBy: pmeerw at pmeerw.net
         QAContact: pulseaudio-bugs at lists.freedesktop.org
                CC: lennart at poettering.net


the pacat-simple.c programs gives me around 230799 usec latency (when passing
NULL for buffer attributes to pa_simple_new())

when I pass the following struct

    pa_buffer_attr ba;
    ba.maxlength = -1; // Maximum length of the buffer 
    ba.tlength = -1; // Target length
    ba.prebuf = -1; // Pre-buffering
    ba.minreq = -1; // Minimum request
    ba.fragsize = -1; // Fragment size 

to pa_simple_new(), I get around 1950000 usec latency (as reported by
pa_simple_get_latency()) -- I would expect to get the same behavior passing
NULL or above struct since -1 in pa_buffer_attr means 'default value' according
to
http://freedesktop.org/software/pulseaudio/doxygen/structpa__buffer__attr.html#details

this is on Ubuntu natty, pulseaudio 0.9.22

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the pulseaudio-bugs mailing list