mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-06 13:29:56 -05:00
replace pa_atof() by pa_atod() because floats are lame
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2506 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
ca36968e0f
commit
67fde59fed
3 changed files with 8 additions and 12 deletions
|
|
@ -511,7 +511,7 @@ int pa__init(pa_module*m) {
|
|||
p = 0;
|
||||
|
||||
while ((k = pa_split(cdata, ",", &state)) && p < n_control) {
|
||||
float f;
|
||||
double f;
|
||||
|
||||
if (*k == 0) {
|
||||
use_default[p++] = TRUE;
|
||||
|
|
@ -519,7 +519,7 @@ int pa__init(pa_module*m) {
|
|||
continue;
|
||||
}
|
||||
|
||||
if (pa_atof(k, &f) < 0) {
|
||||
if (pa_atod(k, &f) < 0) {
|
||||
pa_log("Failed to parse control value '%s'", k);
|
||||
pa_xfree(k);
|
||||
goto fail;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue