summaryrefslogtreecommitdiffstats
path: root/plugins/alsa/alsa-effect-ramp.c
diff options
context:
space:
mode:
authorfulup <fulup.arfoll@iot.bzh>2018-06-05 00:28:17 +0200
committerfulup <fulup.arfoll@iot.bzh>2018-06-05 00:28:17 +0200
commitc4c0647af21b2a05e87f36101d86dc2d35f1f47c (patch)
tree079ec4c4d4153370ae3f2872658f13ed68398000 /plugins/alsa/alsa-effect-ramp.c
parent067d28e5010cb37035caf756a39f2ca27d4589d3 (diff)
Update info command and move HTML5 to new API
Diffstat (limited to 'plugins/alsa/alsa-effect-ramp.c')
-rw-r--r--plugins/alsa/alsa-effect-ramp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/alsa/alsa-effect-ramp.c b/plugins/alsa/alsa-effect-ramp.c
index 361ff05..312bdfa 100644
--- a/plugins/alsa/alsa-effect-ramp.c
+++ b/plugins/alsa/alsa-effect-ramp.c
@@ -90,7 +90,7 @@ PUBLIC int AlsaVolRampApply(SoftMixerT *mixer, AlsaSndCtlT *sndcard, AlsaStreamA
error = wrap_json_unpack(rampJ, "{ss so !}"
, "uid", &uid
- , "vol", &volJ
+ , "volume", &volJ
);
if (error) {
AFB_ApiError(mixer->api, "AlsaVolRampApply:mixer=%s stream=%s invalid-json should {uid:ramp, vol:[+,-,=]value} ramp=%s", mixer->uid, stream->uid, json_object_get_string(rampJ));