summaryrefslogtreecommitdiffstats
path: root/conf.d/project/etc/config-softmixer-4a.json
diff options
context:
space:
mode:
authorFulup Ar Foll <fulup@iot.bzh>2018-04-29 20:52:58 +0200
committerFulup Ar Foll <fulup@iot.bzh>2018-04-29 20:52:58 +0200
commitf83d651392b8556248600f2b1360b9306b845c3d (patch)
tree69498e049145fbafaa2e20dcd0b3005f44fb138d /conf.d/project/etc/config-softmixer-4a.json
parente26d497d74bf7e5926a84cf83d61857f27d75753 (diff)
Initial push work in progress
Diffstat (limited to 'conf.d/project/etc/config-softmixer-4a.json')
-rw-r--r--conf.d/project/etc/config-softmixer-4a.json81
1 files changed, 81 insertions, 0 deletions
diff --git a/conf.d/project/etc/config-softmixer-4a.json b/conf.d/project/etc/config-softmixer-4a.json
new file mode 100644
index 0000000..345dde4
--- /dev/null
+++ b/conf.d/project/etc/config-softmixer-4a.json
@@ -0,0 +1,81 @@
+{
+ "schema": "To Be Defined",
+ "metadata": {
+ "uid": "Soft Mixer",
+ "version": "1.0",
+ "api": "soft-mixer",
+ "info": "Soft Mixer emulating hardware mixer",
+ "require": ["alsa-core"]
+ },
+ "plugins": [
+ {
+ "uid": "alsa-router",
+ "info": "Map alsa-loop subdevices to 4A HAL streams"
+ }
+ ],
+
+ "sndcards": [
+ {
+ "uid": "Focusrite_Scarlett_18i8",
+ "info": "Focusrite 18i8",
+ "device": "/dev/snd/by-id/usb-Focusrite_Scarlett_18i8_USB_10004EE6-00",
+ "action": {
+ "uid": "init-snd-card",
+ "function": "lua://init-focusrite"
+ },
+ "channels": {
+ "sink": [
+ {
+ "type": "FrontLeftFullRange",
+ "port": 0
+ },
+ {
+ "type": "FrontRightFullRange",
+ "port": 1
+ },
+ {
+ "type": "RearLeftFullRange",
+ "port": 2
+ },
+ {
+ "type": "FrontRightFullRange",
+ "port": 3
+ },
+ {
+ "type": "Center",
+ "port": 4
+ },
+ {
+ "type": "LFE",
+ "port": 5
+ }
+ ],
+ "source": [
+ {
+ "uid": "FrontRightMic",
+ "type": "Directional",
+ "port": 0
+ }
+ ]
+ }
+ }
+ ],
+
+ "streams": [{
+ "uid": "alsa-loop",
+ "dev": "/dev/snd/by-path/platform-snd_aloop.0",
+ "subdev": 0,
+ "count": 8
+ }],
+
+ "controls": [
+ {
+ "uid": "stream",
+ "function": "plugin://alsa-router/stream_ctl"
+ },
+ {
+ "uid": "zone",
+ "function": "plugin://alsa-router/zone_ctl"
+ }
+ ]
+}