diff options
Diffstat (limited to 'community-boards/hal-4a-csl-cm106-8ch-usb.json')
-rw-r--r-- | community-boards/hal-4a-csl-cm106-8ch-usb.json | 78 |
1 files changed, 43 insertions, 35 deletions
diff --git a/community-boards/hal-4a-csl-cm106-8ch-usb.json b/community-boards/hal-4a-csl-cm106-8ch-usb.json index a0e32c5..38c932a 100644 --- a/community-boards/hal-4a-csl-cm106-8ch-usb.json +++ b/community-boards/hal-4a-csl-cm106-8ch-usb.json @@ -1,13 +1,13 @@ { "$schema": "http://iot.bzh/download/public/schema/json/ctl-schema.json", "metadata": { - "uid": "/dev/snd/by-id/usb-0d8c_USB_Sound_Device-00", - "version": "0.9", + "uid": "CSL-CM106-USB-4A-HAL", + "version": "0.99", "api": "4a-hal-csl-cm106-8ch-usb", "require": [ "alsacore", "smixer" ], "info": "4a hal for CSL CM106 8ch USB device", "author": "Jonathan Aillet", - "date": "2018-06-09" + "date": "2019-06-25" }, "resources": [ { @@ -34,42 +34,50 @@ "action": "api://4a-hal-manager#ping" } ], - "haldependencies" : { - "uid" : "8ch-usb", - "class" : "mandatory", - "cardPath" : "/dev/snd/by-id/usb-0d8c_USB_Sound_Device-00" - }, - "halmap": [ - { - "uid": "agl-master-capture-volume", - "alsa": { - "name": "Mic Capture Volume", - "value": 60 - } - }, + "haldependencies" : [ { - "uid": "agl-master-playback-volume", - "alsa": { - "numid": 8, - "value": 80 - } - }, + "uid" : "8ch-usb", + "class" : "mandatory", + "cardPath" : "/dev/snd/by-id/usb-0d8c_USB_Sound_Device-00" + } + ], + "halmap": [ { - "uid": "hal-ping", - "info": "ping this hal through alsa", - "alsa": { - "name": "Hal-Ping", - "value": 20, - "create": + "uid" : "halmap-8ch-usb", + "target" : "8ch-usb", + "controls" : [ { - "type": "INTEGER", - "count": 1, - "minval": 0, - "maxval": 100, - "step": 1 + "uid": "agl-master-capture-volume", + "alsa": { + "name": "Mic Capture Volume", + "value": 60 + } + }, + { + "uid": "agl-master-playback-volume", + "alsa": { + "numid": 8, + "value": 80 + } + }, + { + "uid": "hal-ping", + "info": "ping this hal through alsa", + "alsa": { + "name": "Hal-Ping", + "value": 20, + "create": + { + "type": "INTEGER", + "count": 1, + "minval": 0, + "maxval": 100, + "step": 1 + } + }, + "action": "api://4a-hal-csl-cm106-8ch-usb#ping" } - }, - "action": "api://4a-hal-csl-cm106-8ch-usb#ping" + ] } ], "halmixer": { |