Bug 51418 - Implement pa_atoi64()
Summary: Implement pa_atoi64()
Status: RESOLVED INVALID
Alias: None
Product: PulseAudio
Classification: Unclassified
Component: core (show other bugs)
Version: unspecified
Hardware: Other All
: medium enhancement
Assignee: pulseaudio-bugs
QA Contact: pulseaudio-bugs
URL:
Whiteboard:
Keywords: love
Depends on:
Blocks:
 
Reported: 2012-06-25 11:55 UTC by Tanu Kaskinen
Modified: 2012-06-25 12:03 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

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.