diff options
Diffstat (limited to 'community-boards/hal-4a-ensoniq.json')
-rw-r--r-- | community-boards/hal-4a-ensoniq.json | 74 |
1 files changed, 41 insertions, 33 deletions
diff --git a/community-boards/hal-4a-ensoniq.json b/community-boards/hal-4a-ensoniq.json index 964ac2d..bca892f 100644 --- a/community-boards/hal-4a-ensoniq.json +++ b/community-boards/hal-4a-ensoniq.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": "ENSONIQ-USB-4A-HAL", + "version": "0.99", "api": "4a-hal-ensoniq", "require": [ "alsacore", "smixer" ], "info": "4a hal for Ensoniq", "author": "Jonathan Aillet", - "date": "2018-06-13" + "date": "2019-06-25" }, "resources": [ { @@ -34,38 +34,46 @@ "action": "api://4a-hal-manager#ping" } ], - "haldependencies" : { - "uid" : "ensoniq-usb", - "class" : "mandatory", - "cardPath" : "/dev/snd/by-id/usb-0d8c_USB_Sound_Device-00" - }, - "halmap": [ - { - "uid": "agl-master-playback-volume", - "alsa": { - "name": "Master Playback Volume", - "value": 100 - } - }, + "haldependencies" : [ { - "uid": "agl-pcm-playback-volume", - "alsa": { - "name": "PCM Playback Volume", - "value": 100 - } - }, - { - "uid": "agl-master-playback-switch", - "alsa": { - "name": "Master Playback Switch", - "value": 1 - } - }, + "uid" : "ensoniq-usb", + "class" : "mandatory", + "cardPath" : "/dev/snd/by-id/usb-0d8c_USB_Sound_Device-00" + } + ], + "halmap": [ { - "uid": "agl-master-capture-volume", - "alsa": { - "name": "Capture Volume" - } + "uid" : "halmap-ensoniq-usb", + "target" : "ensoniq-usb", + "controls" : [ + { + "uid": "agl-master-playback-volume", + "alsa": { + "name": "Master Playback Volume", + "value": 100 + } + }, + { + "uid": "agl-pcm-playback-volume", + "alsa": { + "name": "PCM Playback Volume", + "value": 100 + } + }, + { + "uid": "agl-master-playback-switch", + "alsa": { + "name": "Master Playback Switch", + "value": 1 + } + }, + { + "uid": "agl-master-capture-volume", + "alsa": { + "name": "Capture Volume" + } + } + ] } ], "halmixer": { |