aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Aillet <jonathan.aillet@iot.bzh>2018-06-11 11:14:15 +0200
committerJonathan Aillet <jonathan.aillet@iot.bzh>2018-06-11 11:14:15 +0200
commit2c4fb97953c0c97f5a01c592b7df6aec2c563c2b (patch)
tree8fc7d9a131692d70ddabcedf81b6606e3a23cbef
parent9c88fd2aaf454b4ab5d4cfcb5e510196da3b74b4 (diff)
Correct a conversion into ramp processing
The conversion from ms to us wasn't done correctly, it is fixed now. Change-Id: I004e2e42c9b6d9da4f7089d34406bef57ab21d9e Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
-rw-r--r--plugins/alsa/alsa-api-ramp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/alsa/alsa-api-ramp.c b/plugins/alsa/alsa-api-ramp.c
index 56f4c31..0b034e4 100644
--- a/plugins/alsa/alsa-api-ramp.c
+++ b/plugins/alsa/alsa-api-ramp.c
@@ -54,7 +54,7 @@ STATIC AlsaVolRampT *AttachOneRamp(SoftMixerT *mixer, const char *uid, json_obje
goto OnErrorExit;
}
- ramp->delay = ramp->delay * 100; // move from ms to us
+ ramp->delay = ramp->delay * 1000; // move from ms to us
ramp->uid = strdup(rampUid);
return ramp;