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:
Lennart Poettering 2008-06-11 00:37:41 +00:00
parent ca36968e0f
commit 67fde59fed
3 changed files with 8 additions and 12 deletions

View file

@ -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;