diff options
author | Jonathan Aillet <jonathan.aillet@iot.bzh> | 2018-06-02 00:22:16 +0200 |
---|---|---|
committer | Jonathan Aillet <jonathan.aillet@iot.bzh> | 2018-06-02 00:35:19 +0200 |
commit | e2b2d81126498d83fe7576837ccb744d96715a0a (patch) | |
tree | dd9812bb658a4f6ed66618d74a05ca0733049f8d /plugins/alsa | |
parent | a3da4ca36cd6bf38f4c2961dda671c910ff944c6 (diff) |
Correct a conversion into remp processing
The conversion from ms to us wasn't done correctly, it is fixed now.
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
Diffstat (limited to 'plugins/alsa')
-rw-r--r-- | plugins/alsa/alsa-api-frontend.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/alsa/alsa-api-frontend.c b/plugins/alsa/alsa-api-frontend.c index d475ae9..e794ff4 100644 --- a/plugins/alsa/alsa-api-frontend.c +++ b/plugins/alsa/alsa-api-frontend.c @@ -35,7 +35,7 @@ STATIC int ProcessOneRamp(CtlSourceT *source, const char* uid, json_object *ramp ); if (error) 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 0; |