Bug 51418

Summary: Implement pa_atoi64()
Product: PulseAudio Reporter: Tanu Kaskinen <tanuk>
Component: coreAssignee: pulseaudio-bugs
Status: RESOLVED INVALID QA Contact: pulseaudio-bugs
Severity: enhancement    
Priority: medium CC: lennart
Version: unspecifiedKeywords: love
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Tanu Kaskinen 2012-06-25 11:55:07 UTC
pa_atoi64() is needed at least for parsing latency offset values in pacmd and pactl. Currently pa_atod() is used as a workaround, but it's not nice to accept fractional numbers when the values are only used as integers.
Comment 1 Tanu Kaskinen 2012-06-25 12:03:36 UTC
Sorry, I misremembered the length of microsecond - I thought that it was one billionth of a second, but since it's actually one millionth, the latency offset can be parsed as a 32-bit integer (the available range from roughly -2000 seconds to roughly 2000 seconds should be enough for everybody).

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.