Bug 42916 - pa_simple_new(): default buffering attributes
Summary: pa_simple_new(): default buffering attributes
Status: RESOLVED MOVED
Alias: None
Product: PulseAudio
Classification: Unclassified
Component: clients (show other bugs)
Version: unspecified
Hardware: Other Linux (All)
: medium normal
Assignee: pulseaudio-bugs
QA Contact: pulseaudio-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-14 04:50 UTC by Peter Meerwald
Modified: 2018-07-30 10:31 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Peter Meerwald 2011-11-14 04:50:07 UTC
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
Comment 1 GitLab Migration User 2018-07-30 10:31:51 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/489.


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.