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: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
                CC: [email protected]


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.
_______________________________________________
pulseaudio-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs

Reply via email to