summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--4a-hal-cfg-community/CMakeLists.txt31
-rw-r--r--4a-hal-cfg-community/hal-4a-csl-cm106-8ch-usb.json290
-rw-r--r--4a-hal-cfg-community/hal-4a-ensoniq.json222
-rw-r--r--4a-hal-cfg-community/hal-4a-intel-upsquared-hdmi.json185
-rw-r--r--4a-hal-cfg-community/hal-4a-intel.json221
-rw-r--r--4a-hal-cfg-community/hal-4a-jabra.json221
-rw-r--r--4a-hal-cfg-community/hal-4a-raspberry-pi-3.json198
-rw-r--r--4a-hal-cfg-example/hal-4a-2ch-generic-usb.json (renamed from 4a-hal-cfg-community/hal-4a-2ch-generic-usb.json)0
-rw-r--r--4a-hal-cfg-reference/CMakeLists.txt31
-rw-r--r--4a-hal-cfg-reference/hal-4a-intel-minnow.json192
-rw-r--r--4a-hal-cfg-reference/hal-4a-intel-qemu.json214
-rw-r--r--4a-hal-cfg-reference/hal-4a-rcar-m3.json226
-rw-r--r--4a-hal-cfg-reference/hal-4a-rcar-m3kf.json249
-rw-r--r--README.md4
14 files changed, 2 insertions, 2282 deletions
diff --git a/4a-hal-cfg-community/CMakeLists.txt b/4a-hal-cfg-community/CMakeLists.txt
deleted file mode 100644
index 46b866e..0000000
--- a/4a-hal-cfg-community/CMakeLists.txt
+++ /dev/null
@@ -1,31 +0,0 @@
-###########################################################################
-# Copyright 2017, 2018 IoT.bzh
-#
-# author: Fulup Ar Foll <fulup@iot.bzh>
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-###########################################################################
-
-##################################################
-# Control Policy Config file
-##################################################
-PROJECT_TARGET_ADD(4a-hal-cfg-community)
-
- file(GLOB CONF_FILES "*.json")
-
- add_input_files("${CONF_FILES}")
-
- SET_TARGET_PROPERTIES(${TARGET_NAME} PROPERTIES
- LABELS "BINDING-CONFIG"
- OUTPUT_NAME ${TARGET_NAME}
- )
diff --git a/4a-hal-cfg-community/hal-4a-csl-cm106-8ch-usb.json b/4a-hal-cfg-community/hal-4a-csl-cm106-8ch-usb.json
deleted file mode 100644
index 09bfcfa..0000000
--- a/4a-hal-cfg-community/hal-4a-csl-cm106-8ch-usb.json
+++ /dev/null
@@ -1,290 +0,0 @@
-{
- "$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",
- "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"
- },
- "resources": [
- {
- "uid": "hal-bt",
- "info": "Bluetooth hal plugin to get A2DP bluetooth device as an input by tweaking softmixer configuration",
- "params": {
- "channels": 2,
- "zone": "front-seats"
- },
- "libs": ["hal-bt.ctlso"]
- }
- ],
- "controls": [
- {
- "uid": "ping",
- "info": "Ping hal",
- "action": "api://4a-hal-manager#ping"
- }
- ],
- "halmap": [
- {
- "uid": "agl-mic-capture-volume",
- "alsa": {
- "name": "Mic Capture Volume",
- "value": 60
- }
- },
- {
- "uid": "agl-speaker-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"
- }
- ],
- "halmixer": {
- "uid": "csl-cm106-8ch-usb",
- "mixerapi": "smixer",
- "prefix": "cm106-usb",
- "ramps": [
- {
- "uid": "ramp-fast",
- "delay": 50,
- "up": 10,
- "down": 3
- },
- {
- "uid": "ramp-slow",
- "delay": 250,
- "up": 3,
- "down": 1
- },
- {
- "uid": "ramp-normal",
- "delay": 100,
- "up": 6,
- "down": 2
- }
- ],
- "playbacks" : {
- "uid": "CSL-CM106-8CH-USB",
- "path": "/dev/snd/by-id/usb-0d8c_USB_Sound_Device-00",
- "params": {
- "rate": 48000
- },
- "sink": {
- "controls": {
- "volume": {
- "name": "Speaker Playback Volume",
- "value": 80
- },
- "mute": {
- "name": "Speaker Playback Switch"
- }
- },
- "channels": [
- {
- "uid": "front-right",
- "port": 0
- },
- {
- "uid": "front-left",
- "port": 1
- },
- {
- "uid": "middle-right",
- "port": 2
- },
- {
- "uid": "middle-left",
- "port": 3
- },
- {
- "uid": "back-right",
- "port": 4
- },
- {
- "uid": "back-left",
- "port": 5
- },
- {
- "uid": "center-right",
- "port": 6
- },
- {
- "uid": "center-left",
- "port": 7
- }
- ]
- }
- },
- "captures": {
- "uid": "CSL-CM106-8CH-USB",
- "path": "/dev/snd/by-id/usb-0d8c_USB_Sound_Device-00",
- "params": {
- "rate": 48000
- },
- "source": {
- "controls": {
- "volume": {
- "name": "Capture Volume"
- },
- "mute": {
- "name": "Capture Switch"
- }
- },
- "channels": [
- {
- "uid": "mic-right",
- "port": 0
- },
- {
- "uid": "mic-left",
- "port": 1
- }
- ]
- }
- },
- "zones": [
- {
- "uid": "full-stereo",
- "sink": [
- {
- "target": "front-right",
- "channel": 0
- },
- {
- "target": "front-left",
- "channel": 1
- },
- {
- "target": "middle-right",
- "channel": 0
- },
- {
- "target": "middle-left",
- "channel": 1
- },
- {
- "target": "back-right",
- "channel": 0
- },
- {
- "target": "back-left",
- "channel": 1
- }
- ]
- },
- {
- "uid": "front-seats",
- "sink": [
- {
- "target": "front-right",
- "channel": 0
- },
- {
- "target": "front-left",
- "channel": 1
- }
- ]
- },
- {
- "uid": "middle-seats",
- "sink": [
- {
- "target": "middle-right",
- "channel": 0
- },
- {
- "target": "middle-left",
- "channel": 1
- }
- ]
- },
- {
- "uid": "back-seats",
- "sink": [
- {
- "target": "back-right",
- "channel": 0
- },
- {
- "target": "back-left",
- "channel": 1
- }
- ]
- }
- ],
- "streams": [
- {
- "uid": "multimedia",
- "verb": "multimedia",
- "zone": "full-stereo",
- "volume": 60,
- "mute": false,
- "params": {
- "rate": 48000
- }
- },
- {
- "uid": "navigation",
- "verb": "navigation",
- "zone": "front-seats",
- "volume": 70,
- "mute": false,
- "params": {
- "rate": 48000
- }
- },
- {
- "uid": "emergency",
- "verb": "emergency",
- "zone": "front-seats",
- "volume": 60,
- "mute": false,
- "params": {
- "rate": 48000
- }
- },
- {
- "uid": "legacy",
- "verb": "legacy",
- "zone": "back-seats",
- "source": "loop-legacy",
- "volume": 50,
- "mute": false,
- "params": {
- "rate": 48000
- }
- },
- {
- "uid": "radio_stream",
- "verb": "radio_stream",
- "zone": "full-stereo",
- "volume": 70,
- "mute": true,
- "params": {
- "rate" : 48000
- }
- }
- ]
- }
-}
diff --git a/4a-hal-cfg-community/hal-4a-ensoniq.json b/4a-hal-cfg-community/hal-4a-ensoniq.json
deleted file mode 100644
index 7d1dc80..0000000
--- a/4a-hal-cfg-community/hal-4a-ensoniq.json
+++ /dev/null
@@ -1,222 +0,0 @@
-{
- "$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",
- "api": "4a-hal-ensoniq",
- "require": [ "alsacore", "smixer" ],
- "info": "4a hal for Ensoniq",
- "author": "Jonathan Aillet",
- "date": "2018-06-13"
- },
- "resources": [
- {
- "uid": "hal-bt",
- "info": "Bluetooth hal plugin to get A2DP bluetooth device as an input by tweaking softmixer configuration",
- "params": {
- "channels": 2,
- "zone": "front-seats"
- },
- "libs": ["hal-bt.ctlso"]
- }
- ],
- "controls": [
- {
- "uid": "ping",
- "info": "Ping hal",
- "action": "api://4a-hal-manager#ping"
- }
- ],
- "halmap": [
- {
- "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-mic-capture-volume",
- "alsa": {
- "name": "Capture Volume"
- }
- }
- ],
- "halmixer": {
- "uid": "ensoniq",
- "mixerapi": "smixer",
- "prefix": "ensoniq",
- "ramps": [
- {
- "uid": "ramp-very-fast",
- "delay": 50,
- "up": 6,
- "down": 4
- },
- {
- "uid": "ramp-fast",
- "delay": 50,
- "up": 2,
- "down": 4
- },
- {
- "uid": "ramp-normal",
- "delay": 100,
- "up": 6,
- "down": 10
- },
- {
- "uid": "ramp-slow",
- "delay": 100,
- "up": 4,
- "down": 2
- },
- {
- "uid": "ramp-very-slow",
- "delay": 100,
- "up": 1,
- "down": 1
- }
- ],
- "playbacks" : {
- "uid": "ENSONIQ",
- "path": "/dev/snd/by-id/usb-0d8c_USB_Sound_Device-00",
- "params": {
- "rate": 48000
- },
- "sink": {
- "controls": {
- "volume": {
- "name": "Speaker Playback Volume",
- "value": 80
- },
- "mute": {
- "name": "Speaker Playback Switch"
- }
- },
- "channels": [
- {
- "uid": "front-right",
- "port": 0
- },
- {
- "uid": "front-left",
- "port": 1
- }
- ]
- }
- },
- "captures": {
- "uid": "ENSONIQ",
- "path": "/dev/snd/by-id/usb-0d8c_USB_Sound_Device-00",
- "params": {
- "rate": 48000
- },
- "source": {
- "controls": {
- "volume": {
- "name": "Capture Volume"
- },
- "mute": {
- "name": "Capture Switch"
- }
- },
- "channels": [
- {
- "uid": "mic-right",
- "port": 0
- },
- {
- "uid": "mic-left",
- "port": 1
- }
- ]
- }
- },
- "zones": [
- {
- "uid": "full-stereo",
- "sink": [
- {
- "target": "front-right",
- "channel": 0
- },
- {
- "target": "front-left",
- "channel": 1
- }
- ]
- },
- {
- "uid": "front-seats",
- "sink": [
- {
- "target": "front-right",
- "channel": 0
- },
- {
- "target": "front-left",
- "channel": 1
- }
- ]
- }
- ],
- "streams": [
- {
- "uid": "multimedia",
- "verb": "multimedia",
- "zone": "full-stereo",
- "volume": 60,
- "mute": false,
- "params": {
- "rate": 48000
- }
- },
- {
- "uid": "navigation",
- "verb": "navigation",
- "zone": "front-seats",
- "volume": 70,
- "mute": false,
- "params": {
- "rate": 48000
- }
- },
- {
- "uid": "emergency",
- "verb": "emergency",
- "zone": "front-seats",
- "volume": 60,
- "mute": false,
- "params": {
- "rate": 48000
- }
- },
- {
- "uid": "radio_stream",
- "verb": "radio_stream",
- "zone": "full-stereo",
- "volume": 70,
- "mute": true,
- "params": {
- "rate" : 48000
- }
- }
-
- ]
- }
-}
diff --git a/4a-hal-cfg-community/hal-4a-intel-upsquared-hdmi.json b/4a-hal-cfg-community/hal-4a-intel-upsquared-hdmi.json
deleted file mode 100644
index 8597489..0000000
--- a/4a-hal-cfg-community/hal-4a-intel-upsquared-hdmi.json
+++ /dev/null
@@ -1,185 +0,0 @@
-{
- "$schema": "http://iot.bzh/download/public/schema/json/ctl-schema.json",
- "metadata": {
- "uid": "/dev/snd/by-path/pci-0000:00:0e.0",
- "version": "0.9",
- "api": "4a-hal-intel-upsquared-hdmi",
- "require": [ "alsacore", "smixer" ],
- "info": "4a hal for Intel UpSquared device via HDMI socket",
- "author": "Dominig ar Foll (Intel OTC)",
- "date": "2018-10-01"
- },
- "resources": [
- {
- "uid": "hal-bt",
- "info": "Bluetooth hal plugin to get A2DP bluetooth device as an input by tweaking softmixer configuration",
- "params": {
- "channels": 2,
- "zone": "front-seats"
- },
- "libs": ["hal-bt.ctlso"]
- }
- ],
- "controls": [
- {
- "uid": "ping",
- "info": "Ping hal",
- "action": "api://4a-hal-manager#ping"
- }
- ],
- "halmap": [
- {
- "uid": "agl-pcm-playback-switch",
- "alsa": {
- "numid": 11,
- "value": 1
- }
- }
- ],
- "halmixer": {
- "uid": "intel-upsquared-hdmi",
- "mixerapi": "smixer",
- "prefix": "intel-upsquared-hdmi",
- "ramps": [
- {
- "uid": "ramp-very-fast",
- "delay": 50,
- "up": 6,
- "down": 10
- },
- {
- "uid": "ramp-fast",
- "delay": 50,
- "up": 2,
- "down": 10
- },
- {
- "uid": "ramp-normal",
- "delay": 50,
- "up": 2,
- "down": 4
- },
- {
- "uid": "ramp-slow",
- "delay": 50,
- "up": 2,
- "down": 2
- },
- {
- "uid": "ramp-very-slow",
- "delay": 100,
- "up": 1,
- "down": 1
- }
- ],
- "playbacks" : {
- "uid": "INTEL-UPSQUARED-HDMI",
- "cardid": "hw:PCH",
- "device": 7,
- "params": {
- "rate": 48000
- },
- "sink": {
- "channels": [
- {
- "uid": "front-right",
- "port": 0
- },
- {
- "uid": "front-left",
- "port": 1
- }
- ]
- }
- },
- "captures": {
- "uid": "INTEL-UPSQUARED-HDMI",
- "path": "/dev/snd/by-path/pci-0000:00:0e.0",
- "params": {
- "rate": 48000
- },
- "source": {
- "channels": [
- {
- "uid": "mic-right",
- "port": 0
- },
- {
- "uid": "mic-left",
- "port": 1
- }
- ]
- }
- },
- "zones": [
- {
- "uid": "full-stereo",
- "sink": [
- {
- "target": "front-right",
- "channel": 0
- },
- {
- "target": "front-left",
- "channel": 1
- }
- ]
- },
- {
- "uid": "front-seats",
- "sink": [
- {
- "target": "front-right",
- "channel": 0
- },
- {
- "target": "front-left",
- "channel": 1
- }
- ]
- }
- ],
- "streams": [
- {
- "uid": "multimedia",
- "verb": "multimedia",
- "zone": "full-stereo",
- "volume": 60,
- "mute": false,
- "params": {
- "rate": 48000
- }
- },
- {
- "uid": "navigation",
- "verb": "navigation",
- "zone": "front-seats",
- "volume": 70,
- "mute": false,
- "params": {
- "rate": 48000
- }
- },
- {
- "uid": "emergency",
- "verb": "emergency",
- "zone": "front-seats",
- "volume": 60,
- "mute": false,
- "params": {
- "rate": 48000
- }
- },
- {
- "uid": "radio_stream",
- "verb": "radio_stream",
- "zone": "full-stereo",
- "volume": 70,
- "mute": true,
- "params": {
- "rate" : 48000
- }
- }
- ]
- }
-}
diff --git a/4a-hal-cfg-community/hal-4a-intel.json b/4a-hal-cfg-community/hal-4a-intel.json
deleted file mode 100644
index 1e27896..0000000
--- a/4a-hal-cfg-community/hal-4a-intel.json
+++ /dev/null
@@ -1,221 +0,0 @@
-{
- "$schema": "http://iot.bzh/download/public/schema/json/ctl-schema.json",
- "metadata": {
- "uid": "/dev/snd/by-path/pci-0000:00:1b.0",
- "version": "0.9",
- "api": "4a-hal-intel",
- "require": [ "alsacore", "smixer" ],
- "info": "4a hal for Intel device",
- "author": "Jonathan Aillet",
- "date": "2018-06-13"
- },
- "resources": [
- {
- "uid": "hal-bt",
- "info": "Bluetooth hal plugin to get A2DP bluetooth device as an input by tweaking softmixer configuration",
- "params": {
- "channels": 2,
- "zone": "front-seats"
- },
- "libs": ["hal-bt.ctlso"]
- }
- ],
- "controls": [
- {
- "uid": "ping",
- "info": "Ping hal",
- "action": "api://4a-hal-manager#ping"
- }
- ],
- "halmap": [
- {
- "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-capture-volume",
- "alsa": {
- "name": "Capture Volume"
- }
- }
- ],
- "halmixer": {
- "uid": "intel",
- "mixerapi": "smixer",
- "prefix": "intel-generic",
- "ramps": [
- {
- "uid": "ramp-very-fast",
- "delay": 50,
- "up": 6,
- "down": 10
- },
- {
- "uid": "ramp-fast",
- "delay": 50,
- "up": 2,
- "down": 10
- },
- {
- "uid": "ramp-normal",
- "delay": 50,
- "up": 2,
- "down": 4
- },
- {
- "uid": "ramp-slow",
- "delay": 50,
- "up": 2,
- "down": 2
- },
- {
- "uid": "ramp-very-slow",
- "delay": 100,
- "up": 1,
- "down": 1
- }
- ],
- "playbacks" : {
- "uid": "INTEL",
- "path": "/dev/snd/by-path/pci-0000:00:1b.0",
- "params": {
- "rate": 48000
- },
- "sink": {
- "controls": {
- "volume": {
- "name": "Master Playback Volume",
- "value": 80
- },
- "mute": {
- "name": "Master Playback Switch"
- }
- },
- "channels": [
- {
- "uid": "front-right",
- "port": 0
- },
- {
- "uid": "front-left",
- "port": 1
- }
- ]
- }
- },
- "captures": {
- "uid": "INTEL",
- "path": "/dev/snd/by-path/pci-0000:00:1b.0",
- "params": {
- "rate": 48000
- },
- "source": {
- "controls": {
- "volume": {
- "name": "Capture Volume"
- },
- "mute": {
- "name": "Capture Switch"
- }
- },
- "channels": [
- {
- "uid": "mic-right",
- "port": 0
- },
- {
- "uid": "mic-left",
- "port": 1
- }
- ]
- }
- },
- "zones": [
- {
- "uid": "full-stereo",
- "sink": [
- {
- "target": "front-right",
- "channel": 0
- },
- {
- "target": "front-left",
- "channel": 1
- }
- ]
- },
- {
- "uid": "front-seats",
- "sink": [
- {
- "target": "front-right",
- "channel": 0
- },
- {
- "target": "front-left",
- "channel": 1
- }
- ]
- }
- ],
- "streams": [
- {
- "uid": "multimedia",
- "verb": "multimedia",
- "zone": "full-stereo",
- "volume": 60,
- "mute": false,
- "params": {
- "rate": 48000
- }
- },
- {
- "uid": "navigation",
- "verb": "navigation",
- "zone": "front-seats",
- "volume": 70,
- "mute": false,
- "params": {
- "rate": 48000
- }
- },
- {
- "uid": "emergency",
- "verb": "emergency",
- "zone": "front-seats",
- "volume": 60,
- "mute": false,
- "params": {
- "rate": 48000
- }
- },
- {
- "uid": "radio_stream",
- "verb": "radio_stream",
- "zone": "full-stereo",
- "volume": 70,
- "mute": true,
- "params": {
- "rate" : 48000
- }
- }
- ]
- }
-}
diff --git a/4a-hal-cfg-community/hal-4a-jabra.json b/4a-hal-cfg-community/hal-4a-jabra.json
deleted file mode 100644
index d9879d4..0000000
--- a/4a-hal-cfg-community/hal-4a-jabra.json
+++ /dev/null
@@ -1,221 +0,0 @@
-{
- "$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",
- "api": "4a-hal-jabra-solemate",
- "require": [ "alsacore", "smixer" ],
- "info": "4a hal for Jabra Solemate",
- "author": "Jonathan Aillet",
- "date": "2018-06-13"
- },
- "resources": [
- {
- "uid": "hal-bt",
- "info": "Bluetooth hal plugin to get A2DP bluetooth device as an input by tweaking softmixer configuration",
- "params": {
- "channels": 2,
- "zone": "front-seats"
- },
- "libs": ["hal-bt.ctlso"]
- }
- ],
- "controls": [
- {
- "uid": "ping",
- "info": "Ping hal",
- "action": "api://4a-hal-manager#ping"
- }
- ],
- "halmap": [
- {
- "uid": "agl-master-playback-volume",
- "alsa": {
- "name": "PCM Playback Volume",
- "value": 80
- }
- },
- {
- "uid": "agl-pcm-playback-volume",
- "alsa": {
- "name": "PCM Playback Volume",
- "value": 80
- }
- },
- {
- "uid": "agl-pcm-playback-switch",
- "alsa": {
- "name": "PCM Playback Switch",
- "value": 1
- }
- },
- {
- "uid": "agl-mic-capture-volume",
- "alsa": {
- "name": "Mic Capture Volume"
- }
- }
- ],
- "halmixer": {
- "uid": "jabra-solemate",
- "mixerapi": "smixer",
- "prefix": "jabra-solemate",
- "ramps": [
- {
- "uid": "ramp-very-fast",
- "delay": 50,
- "up": 6,
- "down": 10
- },
- {
- "uid": "ramp-fast",
- "delay": 50,
- "up": 2,
- "down": 10
- },
- {
- "uid": "ramp-normal",
- "delay": 50,
- "up": 2,
- "down": 4
- },
- {
- "uid": "ramp-slow",
- "delay": 50,
- "up": 2,
- "down": 2
- },
- {
- "uid": "ramp-very-slow",
- "delay": 100,
- "up": 1,
- "down": 1
- }
- ],
- "playbacks" : {
- "uid": "JABRA-SOLEMATE",
- "path": "/dev/snd/by-id/usb-0d8c_USB_Sound_Device-00",
- "params": {
- "rate": 48000
- },
- "sink": {
- "controls": {
- "volume": {
- "name": "Speaker Playback Volume",
- "value": 80
- },
- "mute": {
- "name": "Speaker Playback Switch"
- }
- },
- "channels": [
- {
- "uid": "front-right",
- "port": 0
- },
- {
- "uid": "front-left",
- "port": 1
- }
- ]
- }
- },
- "captures": {
- "uid": "JABRA-SOLEMATE",
- "path": "/dev/snd/by-id/usb-0d8c_USB_Sound_Device-00",
- "params": {
- "rate": 48000
- },
- "source": {
- "controls": {
- "volume": {
- "name": "Capture Volume"
- },
- "mute": {
- "name": "Capture Switch"
- }
- },
- "channels": [
- {
- "uid": "mic-right",
- "port": 0
- },
- {
- "uid": "mic-left",
- "port": 1
- }
- ]
- }
- },
- "zones": [
- {
- "uid": "full-stereo",
- "sink": [
- {
- "target": "front-right",
- "channel": 0
- },
- {
- "target": "front-left",
- "channel": 1
- }
- ]
- },
- {
- "uid": "front-seats",
- "sink": [
- {
- "target": "front-right",
- "channel": 0
- },
- {
- "target": "front-left",
- "channel": 1
- }
- ]
- }
- ],
- "streams": [
- {
- "uid": "multimedia",
- "verb": "multimedia",
- "zone": "full-stereo",
- "volume": 60,
- "mute": false,
- "params": {
- "rate": 48000
- }
- },
- {
- "uid": "navigation",
- "verb": "navigation",
- "zone": "front-seats",
- "volume": 70,
- "mute": false,
- "params": {
- "rate": 48000
- }
- },
- {
- "uid": "emergency",
- "verb": "emergency",
- "zone": "front-seats",
- "volume": 60,
- "mute": false,
- "params": {
- "rate": 48000
- }
- },
- {
- "uid": "radio_stream",
- "verb": "radio_stream",
- "zone": "full-stereo",
- "volume": 70,
- "mute": true,
- "params": {
- "rate" : 48000
- }
- }
- ]
- }
-}
diff --git a/4a-hal-cfg-community/hal-4a-raspberry-pi-3.json b/4a-hal-cfg-community/hal-4a-raspberry-pi-3.json
deleted file mode 100644
index 86be677..0000000
--- a/4a-hal-cfg-community/hal-4a-raspberry-pi-3.json
+++ /dev/null
@@ -1,198 +0,0 @@
-{
- "$schema": "http://iot.bzh/download/public/schema/json/ctl-schema.json",
- "metadata": {
- "uid": "/dev/snd/by-path/platform-soc:audio",
- "version": "0.9",
- "api": "4a-hal-raspberry-pi-3",
- "require": [ "alsacore", "smixer" ],
- "info": "4a hal for Raspberry Pi 3 device\nWARNING: in AGL FF.rc2, RPI3 suffers from a bug in the native sound card driver that prevents DMix component to work correctly. As a consequence, no sound can be heard on the internal sound card of the PI3. See https://jira.automotivelinux.org/browse/SPEC-1610 . [Signed-Off: sdx@iot.bzh - 20180724]",
- "author": "Jonathan Aillet",
- "date": "2018-07-20"
- },
- "resources": [
- {
- "uid": "hal-bt",
- "info": "Bluetooth hal plugin to get A2DP bluetooth device as an input by tweaking softmixer configuration",
- "params": {
- "channels": 2,
- "zone": "front-seats"
- },
- "libs": ["hal-bt.ctlso"]
- }
- ],
- "controls": [
- {
- "uid": "ping",
- "info": "Ping hal",
- "action": "api://4a-hal-manager#ping"
- }
- ],
- "halmap": [
- {
- "uid": "agl-master-playback-volume",
- "alsa": {
- "name": "PCM Playback Volume",
- "value": 100
- }
- },
- {
- "uid": "agl-pcm-playback-volume",
- "alsa": {
- "name": "PCM Playback Volume",
- "value": 100
- }
- },
- {
- "uid": "agl-master-playback-switch",
- "alsa": {
- "name": "PCM Playback Switch",
- "value": 1
- }
- },
- {
- "uid": "agl-pcm-playback-switch",
- "alsa": {
- "name": "PCM Playback Switch",
- "value": 1
- }
- }
- ],
- "halmixer": {
- "uid": "rpi3",
- "mixerapi": "smixer",
- "prefix": "rpi3",
- "ramps": [
- {
- "uid": "ramp-very-fast",
- "delay": 50,
- "up": 6,
- "down": 10
- },
- {
- "uid": "ramp-fast",
- "delay": 50,
- "up": 2,
- "down": 10
- },
- {
- "uid": "ramp-normal",
- "delay": 50,
- "up": 2,
- "down": 4
- },
- {
- "uid": "ramp-slow",
- "delay": 50,
- "up": 2,
- "down": 2
- },
- {
- "uid": "ramp-very-slow",
- "delay": 100,
- "up": 1,
- "down": 1
- }
- ],
- "playbacks" : {
- "uid": "RASPBERRY-PI-3",
- "path": "/dev/snd/by-path/platform-soc:audio",
- "params": {
- "rate": 48000
- },
- "sink": {
- "controls": {
- "volume": {
- "name": "PCM Playback Volume",
- "value": 100
- },
- "mute": {
- "name": "PCM Playback Switch"
- }
- },
- "channels": [
- {
- "uid": "front-right",
- "port": 0
- },
- {
- "uid": "front-left",
- "port": 1
- }
- ]
- }
- },
- "zones": [
- {
- "uid": "full-stereo",
- "sink": [
- {
- "target": "front-right",
- "channel": 0
- },
- {
- "target": "front-left",
- "channel": 1
- }
- ]
- },
- {
- "uid": "front-seats",
- "sink": [
- {
- "target": "front-right",
- "channel": 0
- },
- {
- "target": "front-left",
- "channel": 1
- }
- ]
- }
- ],
- "streams": [
- {
- "uid": "multimedia",
- "verb": "multimedia",
- "zone": "full-stereo",
- "volume": 60,
- "mute": false,
- "params": {
- "rate": 48000,
- "format": "S16_LE"
- }
- },
- {
- "uid": "navigation",
- "verb": "navigation",
- "zone": "front-seats",
- "volume": 70,
- "mute": false,
- "params": {
- "rate": 48000,
- "format": "S16_LE"
- }
- },
- {
- "uid": "emergency",
- "verb": "emergency",
- "zone": "front-seats",
- "volume": 80,
- "mute": false,
- "params": {
- "rate": 48000,
- "format": "S16_LE"
- }
- },
- {
- "uid": "radio_stream",
- "verb": "radio_stream",
- "zone": "full-stereo",
- "volume": 70,
- "mute": true,
- "params": {
- "rate" : 48000
- }
- }
- ]
- }
-}
diff --git a/4a-hal-cfg-community/hal-4a-2ch-generic-usb.json b/4a-hal-cfg-example/hal-4a-2ch-generic-usb.json
index efc59e3..efc59e3 100644
--- a/4a-hal-cfg-community/hal-4a-2ch-generic-usb.json
+++ b/4a-hal-cfg-example/hal-4a-2ch-generic-usb.json
diff --git a/4a-hal-cfg-reference/CMakeLists.txt b/4a-hal-cfg-reference/CMakeLists.txt
deleted file mode 100644
index e8267f9..0000000
--- a/4a-hal-cfg-reference/CMakeLists.txt
+++ /dev/null
@@ -1,31 +0,0 @@
-###########################################################################
-# Copyright 2017, 2018 IoT.bzh
-#
-# author: Fulup Ar Foll <fulup@iot.bzh>
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-###########################################################################
-
-##################################################
-# Control Policy Config file
-##################################################
-PROJECT_TARGET_ADD(4a-hal-cfg-reference)
-
- file(GLOB CONF_FILES "*.json")
-
- add_input_files("${CONF_FILES}")
-
- SET_TARGET_PROPERTIES(${TARGET_NAME} PROPERTIES
- LABELS "BINDING-CONFIG"
- OUTPUT_NAME ${TARGET_NAME}
- )
diff --git a/4a-hal-cfg-reference/hal-4a-intel-minnow.json b/4a-hal-cfg-reference/hal-4a-intel-minnow.json
deleted file mode 100644
index 9a5effb..0000000
--- a/4a-hal-cfg-reference/hal-4a-intel-minnow.json
+++ /dev/null
@@ -1,192 +0,0 @@
-{
- "$schema": "http://iot.bzh/download/public/schema/json/ctl-schema.json",
- "metadata": {
- "uid": "/dev/snd/by-path/pci-0000:00:1b.0",
- "version": "0.9",
- "api": "4a-hal-intel-minnow",
- "require": [ "alsacore", "smixer" ],
- "info": "4a hal for Intel Minnow device",
- "author": "Jonathan Aillet",
- "date": "2018-06-13"
- },
- "resources": [
- {
- "uid": "hal-bt",
- "info": "Bluetooth hal plugin to get A2DP bluetooth device as an input by tweaking softmixer configuration",
- "params": {
- "channels": 2,
- "zone": "front-seats"
- },
- "libs": ["hal-bt.ctlso"]
- }
- ],
- "controls": [
- {
- "uid": "ping",
- "info": "Ping hal",
- "action": "api://4a-hal-manager#ping"
- }
- ],
- "halmap": [
- {
- "uid": "agl-master-playback-volume",
- "alsa": {
- "name": "IEC958 Playback Default",
- "value": 100
- }
- },
- {
- "uid": "agl-pcm-playback-switch",
- "alsa": {
- "name": "IEC958 Playback Switch",
- "value": 1
- }
- }
- ],
- "halmixer": {
- "uid": "intel-minnow",
- "mixerapi": "smixer",
- "prefix": "intel-minnow",
- "ramps": [
- {
- "uid": "ramp-very-fast",
- "delay": 50,
- "up": 6,
- "down": 10
- },
- {
- "uid": "ramp-fast",
- "delay": 50,
- "up": 2,
- "down": 10
- },
- {
- "uid": "ramp-normal",
- "delay": 50,
- "up": 2,
- "down": 4
- },
- {
- "uid": "ramp-slow",
- "delay": 50,
- "up": 2,
- "down": 2
- },
- {
- "uid": "ramp-very-slow",
- "delay": 100,
- "up": 1,
- "down": 1
- }
- ],
- "playbacks" : {
- "uid": "INTEL-MINNOW",
- "cardid": "hw:PCH",
- "device": 3,
- "params": {
- "rate": 48000
- },
- "sink": {
- "channels": [
- {
- "uid": "front-right",
- "port": 0
- },
- {
- "uid": "front-left",
- "port": 1
- }
- ]
- }
- },
- "captures": {
- "uid": "INTEL-MINNOW",
- "path": "/dev/snd/by-path/pci-0000:00:1b.0",
- "params": {
- "rate": 48000
- },
- "source": {
- "channels": [
- {
- "uid": "mic-right",
- "port": 0
- },
- {
- "uid": "mic-left",
- "port": 1
- }
- ]
- }
- },
- "zones": [
- {
- "uid": "full-stereo",
- "sink": [
- {
- "target": "front-right",
- "channel": 0
- },
- {
- "target": "front-left",
- "channel": 1
- }
- ]
- },
- {
- "uid": "front-seats",
- "sink": [
- {
- "target": "front-right",
- "channel": 0
- },
- {
- "target": "front-left",
- "channel": 1
- }
- ]
- }
- ],
- "streams": [
- {
- "uid": "multimedia",
- "verb": "multimedia",
- "zone": "full-stereo",
- "volume": 60,
- "mute": false,
- "params": {
- "rate": 48000
- }
- },
- {
- "uid": "navigation",
- "verb": "navigation",
- "zone": "front-seats",
- "volume": 70,
- "mute": false,
- "params": {
- "rate": 48000
- }
- },
- {
- "uid": "emergency",
- "verb": "emergency",
- "zone": "front-seats",
- "volume": 60,
- "mute": false,
- "params": {
- "rate": 48000
- }
- },
- {
- "uid": "radio_stream",
- "verb": "radio_stream",
- "zone": "full-stereo",
- "volume": 70,
- "mute": true,
- "params": {
- "rate" : 48000
- }
- }
- ]
- }
-}
diff --git a/4a-hal-cfg-reference/hal-4a-intel-qemu.json b/4a-hal-cfg-reference/hal-4a-intel-qemu.json
deleted file mode 100644
index eed75de..0000000
--- a/4a-hal-cfg-reference/hal-4a-intel-qemu.json
+++ /dev/null
@@ -1,214 +0,0 @@
-{
- "$schema": "http://iot.bzh/download/public/schema/json/ctl-schema.json",
- "metadata": {
- "uid": "/dev/snd/by-path/pci-0000:00:03.0",
- "version": "0.9",
- "api": "4a-hal-intel-qemu",
- "require": [ "alsacore", "smixer" ],
- "info": "4a hal for QEMU Intel device",
- "author": "Jonathan Aillet",
- "date": "2018-07-10"
- },
- "resources": [
- {
- "uid": "hal-bt",
- "info": "Bluetooth hal plugin to get A2DP bluetooth device as an input by tweaking softmixer configuration",
- "params": {
- "channels": 2,
- "zone": "front-seats"
- },
- "libs": ["hal-bt.ctlso"]
- }
- ],
- "controls": [
- {
- "uid": "ping",
- "info": "Ping hal",
- "action": "api://4a-hal-manager#ping"
- }
- ],
- "halmap": [
- {
- "uid": "agl-master-playback-volume",
- "alsa": {
- "name": "Master Playback Volume",
- "value": 100
- }
- },
- {
- "uid": "agl-master-playback-switch",
- "alsa": {
- "name": "Master Playback Switch",
- "value": 1
- }
- },
- {
- "uid": "agl-capture-volume",
- "alsa": {
- "name": "Capture Volume"
- }
- }
- ],
- "halmixer": {
- "uid": "intel",
- "mixerapi": "smixer",
- "prefix": "intel-qemu",
- "ramps": [
- {
- "uid": "ramp-very-fast",
- "delay": 50,
- "up": 6,
- "down": 10
- },
- {
- "uid": "ramp-fast",
- "delay": 50,
- "up": 2,
- "down": 10
- },
- {
- "uid": "ramp-normal",
- "delay": 50,
- "up": 2,
- "down": 4
- },
- {
- "uid": "ramp-slow",
- "delay": 50,
- "up": 2,
- "down": 2
- },
- {
- "uid": "ramp-very-slow",
- "delay": 100,
- "up": 1,
- "down": 1
- }
- ],
- "playbacks" : {
- "uid": "INTEL-QEMU",
- "path": "/dev/snd/by-path/pci-0000:00:03.0",
- "params": {
- "rate": 48000
- },
- "sink": {
- "controls": {
- "volume": {
- "name": "Master Playback Volume",
- "value": 80
- },
- "mute": {
- "name": "Master Playback Switch"
- }
- },
- "channels": [
- {
- "uid": "front-right",
- "port": 0
- },
- {
- "uid": "front-left",
- "port": 1
- }
- ]
- }
- },
- "captures": {
- "uid": "INTEL-QEMU",
- "path": "/dev/snd/by-path/pci-0000:00:03.0",
- "params": {
- "rate": 48000
- },
- "source": {
- "controls": {
- "volume": {
- "name": "Capture Volume"
- },
- "mute": {
- "name": "Capture Switch"
- }
- },
- "channels": [
- {
- "uid": "mic-right",
- "port": 0
- },
- {
- "uid": "mic-left",
- "port": 1
- }
- ]
- }
- },
- "zones": [
- {
- "uid": "full-stereo",
- "sink": [
- {
- "target": "front-right",
- "channel": 0
- },
- {
- "target": "front-left",
- "channel": 1
- }
- ]
- },
- {
- "uid": "front-seats",
- "sink": [
- {
- "target": "front-right",
- "channel": 0
- },
- {
- "target": "front-left",
- "channel": 1
- }
- ]
- }
- ],
- "streams": [
- {
- "uid": "multimedia",
- "verb": "multimedia",
- "zone": "full-stereo",
- "volume": 60,
- "mute": false,
- "params": {
- "rate": 48000
- }
- },
- {
- "uid": "navigation",
- "verb": "navigation",
- "zone": "front-seats",
- "volume": 70,
- "mute": false,
- "params": {
- "rate": 48000
- }
- },
- {
- "uid": "emergency",
- "verb": "emergency",
- "zone": "front-seats",
- "volume": 60,
- "mute": false,
- "params": {
- "rate": 48000
- }
- },
- {
- "uid": "radio_stream",
- "verb": "radio_stream",
- "zone": "full-stereo",
- "volume": 70,
- "mute": true,
- "params": {
- "rate" : 48000
- }
- }
- ]
- }
-}
diff --git a/4a-hal-cfg-reference/hal-4a-rcar-m3.json b/4a-hal-cfg-reference/hal-4a-rcar-m3.json
deleted file mode 100644
index 5644262..0000000
--- a/4a-hal-cfg-reference/hal-4a-rcar-m3.json
+++ /dev/null
@@ -1,226 +0,0 @@
-{
- "$schema": "http://iot.bzh/download/public/schema/json/ctl-schema.json",
- "metadata": {
- "uid": "/dev/snd/by-path/platform-sound",
- "version": "0.9",
- "api": "4a-hal-rcar-m3",
- "require": [ "alsacore", "smixer" ],
- "info": "4a hal for Rcar M3 device",
- "author": "Jonathan Aillet",
- "date": "2018-06-13"
- },
- "resources": [
- {
- "uid": "hal-bt",
- "info": "Bluetooth hal plugin to get A2DP bluetooth device as an input by tweaking softmixer configuration",
- "params": {
- "channels": 2,
- "zone": "front-seats"
- },
- "libs": ["hal-bt.ctlso"]
- }
- ],
- "controls": [
- {
- "uid": "ping",
- "info": "Ping hal",
- "action": "api://4a-hal-manager#ping"
- }
- ],
- "halmap": [
- {
- "uid": "agl-master-playback-volume",
- "alsa": {
- "name": "DVC Out Playback Volume",
- "value": 80
- }
- },
- {
- "uid": "agl-pcm-playback-volume",
- "alsa": {
- "name": "DVC Out Playback Volume",
- "value": 80
- }
- },
- {
- "uid": "agl-pcm-playback-switch",
- "alsa": {
- "name": "SRC Out Rate Switch",
- "value": 1
- }
- },
- {
- "uid": "agl-capture-volume",
- "alsa": {
- "name": "DVC In Capture Volume"
- }
- }
- ],
- "halmixer": {
- "uid": "rcar-m3",
- "mixerapi": "smixer",
- "prefix": "m3",
- "ramps": [
- {
- "uid": "ramp-very-fast",
- "delay": 50,
- "up": 6,
- "down": 10
- },
- {
- "uid": "ramp-fast",
- "delay": 50,
- "up": 2,
- "down": 10
- },
- {
- "uid": "ramp-normal",
- "delay": 50,
- "up": 2,
- "down": 4
- },
- {
- "uid": "ramp-slow",
- "delay": 50,
- "up": 2,
- "down": 2
- },
- {
- "uid": "ramp-very-slow",
- "delay": 100,
- "up": 1,
- "down": 1
- }
- ],
- "playbacks" : {
- "uid": "RCAR-M3",
- "path": "/dev/snd/by-path/platform-sound",
- "params": {
- "rate": 48000,
- "format": "S24_LE"
- },
- "sink": {
- "controls": {
- "volume": {
- "name": "DVC Out Playback Volume",
- "value": 80
- },
- "mute": {
- "name": "SRC Out Rate Switch"
- }
- },
- "channels": [
- {
- "uid": "front-right",
- "port": 0
- },
- {
- "uid": "front-left",
- "port": 1
- }
- ]
- }
- },
- "captures": {
- "uid": "RCAR-M3",
- "path": "/dev/snd/by-path/platform-sound",
- "params": {
- "rate": 48000
- },
- "source": {
- "controls": {
- "volume": {
- "name": "DVC In Capture Volume"
- },
- "mute": {
- "name": "DVC In Mute Switch"
- }
- },
- "channels": [
- {
- "uid": "mic-right",
- "port": 0
- },
- {
- "uid": "mic-left",
- "port": 1
- }
- ]
- }
- },
- "zones": [
- {
- "uid": "full-stereo",
- "sink": [
- {
- "target": "front-right",
- "channel": 0
- },
- {
- "target": "front-left",
- "channel": 1
- }
- ]
- },
- {
- "uid": "front-seats",
- "sink": [
- {
- "target": "front-right",
- "channel": 0
- },
- {
- "target": "front-left",
- "channel": 1
- }
- ]
- }
- ],
- "streams": [
- {
- "uid": "multimedia",
- "verb": "multimedia",
- "zone": "full-stereo",
- "volume": 60,
- "mute": false,
- "params": {
- "rate": 48000,
- "format": "S16_LE"
- }
- },
- {
- "uid": "navigation",
- "verb": "navigation",
- "zone": "front-seats",
- "volume": 70,
- "mute": false,
- "params": {
- "rate": 48000,
- "format": "S16_LE"
- }
- },
- {
- "uid": "emergency",
- "verb": "emergency",
- "zone": "front-seats",
- "volume": 60,
- "mute": false,
- "params": {
- "rate": 48000,
- "format": "S16_LE"
- }
- },
- {
- "uid": "radio_stream",
- "verb": "radio_stream",
- "zone": "full-stereo",
- "volume": 70,
- "mute": true,
- "params": {
- "rate" : 48000,
- "format": "S16_LE"
- }
- }
- ]
- }
-}
diff --git a/4a-hal-cfg-reference/hal-4a-rcar-m3kf.json b/4a-hal-cfg-reference/hal-4a-rcar-m3kf.json
deleted file mode 100644
index d374fcf..0000000
--- a/4a-hal-cfg-reference/hal-4a-rcar-m3kf.json
+++ /dev/null
@@ -1,249 +0,0 @@
-{
- "$schema": "http://iot.bzh/download/public/schema/json/ctl-schema.json",
- "metadata": {
- "uid": "/dev/snd/by-path/platform-sound@1",
- "version": "0.9",
- "api": "4a-hal-rcar-m3kf",
- "require": [ "alsacore", "smixer" ],
- "info": "4a hal for Rcar M3 device when plugged on Kingfisher board",
- "author": "Jonathan Aillet, Stephane Desneux",
- "date": "2018-06-15"
- },
- "resources": [
- {
- "uid": "hal-bt",
- "info": "Bluetooth hal plugin to get A2DP bluetooth device as an input by tweaking softmixer configuration",
- "params": {
- "channels": 2,
- "zone": "front-seats"
- },
- "libs": ["hal-bt.ctlso"]
- }
- ],
- "controls": [
- {
- "uid": "ping",
- "info": "Ping hal",
- "action": "api://4a-hal-manager#ping"
- }
- ],
- "halmap": [
- {
- "uid": "agl-master-playback-volume",
- "alsa": {
- "name": "DVC Out Playback Volume",
- "value": 80
- }
- },
- {
- "uid": "agl-pcm-playback-volume",
- "alsa": {
- "name": "DVC Out Playback Volume",
- "value": 80
- }
- },
- {
- "uid": "agl-pcm-playback-switch",
- "alsa": {
- "name": "SRC Out Rate Switch",
- "value": 1
- }
- },
- {
- "uid": "agl-capture-volume",
- "alsa": {
- "name": "DVC In Capture Volume"
- }
- }
- ],
- "halmixer": {
- "uid": "rcar-m3",
- "mixerapi": "smixer",
- "prefix": "m3kf",
- "ramps": [
- {
- "uid": "ramp-very-fast",
- "delay": 50,
- "up": 6,
- "down": 10
- },
- {
- "uid": "ramp-fast",
- "delay": 50,
- "up": 2,
- "down": 10
- },
- {
- "uid": "ramp-normal",
- "delay": 50,
- "up": 2,
- "down": 4
- },
- {
- "uid": "ramp-slow",
- "delay": 50,
- "up": 2,
- "down": 2
- },
- {
- "uid": "ramp-very-slow",
- "delay": 100,
- "up": 1,
- "down": 1
- }
- ],
- "playbacks" : {
- "uid": "RCAR-M3",
- "path": "/dev/snd/by-path/platform-sound@1",
- "params": {
- "rate": 48000,
- "format": "S24_LE"
- },
- "sink": {
- "controls": {
- "volume": {
- "name": "DVC Out Playback Volume",
- "value": 80
- },
- "mute": {
- "name": "SRC Out Rate Switch"
- }
- },
- "channels": [
- {
- "uid": "front-right",
- "port": 0
- },
- {
- "uid": "front-left",
- "port": 1
- }
- ]
- }
- },
- "captures": [
- {
- "uid": "RCAR-M3",
- "path": "/dev/snd/by-path/platform-sound@1",
- "params": {
- "rate": 48000
- },
- "source": {
- "controls": {
- "volume": {
- "name": "DVC In Capture Volume"
- },
- "mute": {
- "name": "DVC In Mute Switch"
- }
- },
- "channels": [
- {
- "uid": "mic-right",
- "port": 0
- },
- {
- "uid": "mic-left",
- "port": 1
- }
- ]
- }
- } ,
- {
- "uid": "radio",
- "path": "/dev/snd/by-path/platform-sound@2",
- "params": {
- "channels": 2
- },
- "source": {
- "channels": [
- {
- "uid": "radio-right",
- "port": 0
- },
- {
- "uid": "radio-left",
- "port": 1
- }
- ]
- }
- }
- ],
- "zones": [
- {
- "uid": "full-stereo",
- "sink": [
- {
- "target": "front-right",
- "channel": 0
- },
- {
- "target": "front-left",
- "channel": 1
- }
- ]
- },
- {
- "uid": "front-seats",
- "sink": [
- {
- "target": "front-right",
- "channel": 0
- },
- {
- "target": "front-left",
- "channel": 1
- }
- ]
- }
- ],
- "streams": [
- {
- "uid": "multimedia",
- "verb": "multimedia",
- "zone": "full-stereo",
- "volume": 60,
- "mute": false,
- "params": {
- "rate": 48000,
- "format": "S16_LE"
- }
- },
- {
- "uid": "navigation",
- "verb": "navigation",
- "zone": "front-seats",
- "volume": 70,
- "mute": false,
- "params": {
- "rate": 48000,
- "format": "S16_LE"
- }
- },
- {
- "uid": "emergency",
- "verb": "emergency",
- "zone": "front-seats",
- "volume": 60,
- "mute": false,
- "params": {
- "rate": 48000,
- "format": "S16_LE"
- }
- },
- {
- "uid": "radio_stream",
- "verb": "radio_stream",
- "zone": "full-stereo",
- "source" : "radio",
- "volume": 80,
- "mute": true,
- "params": {
- "rate" : 48000,
- "format": "S16_LE",
- "channels": 2
- }
- }
- ]
- }
-}
diff --git a/README.md b/README.md
index cd76ef8..8704117 100644
--- a/README.md
+++ b/README.md
@@ -56,8 +56,8 @@ sudo modprobe snd-aloop
#### Information about audio json configuration files
* All audio hardware configuration files are a json description of your audio devices.
-* They all must be in ./4a-hal-cfg-reference or ./4a-hal-cfg-community and must begin with 'hal-4a'.
-* You can find some examples of these configurations in this directory.
+* They all must be in the 4a-hal-configs repository and must begin with 'hal-4a'.
+* You can find some examples of these configurations in the 4a-hal-cfg-example folder..
* Each configuration file found at startup will create a new hal with its own api.
* At 'init-mixer' hal command, your mixer configuration will be sent.