From 2c4fb97953c0c97f5a01c592b7df6aec2c563c2b Mon Sep 17 00:00:00 2001 From: Jonathan Aillet Date: Mon, 11 Jun 2018 11:14:15 +0200 Subject: 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 --- plugins/alsa/alsa-api-ramp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit 1.2.3-korg