From 8372b87f2be8fe5b8655001e92572af4d96ddbf6 Mon Sep 17 00:00:00 2001 From: Fulup Ar Foll Date: Sun, 29 Apr 2018 22:36:12 +0200 Subject: Hack config to bypass limitation and load plugin --- conf.d/project/etc/4a-softmixer-config.json | 82 +++++++++++++++++++++++++++++ conf.d/project/etc/config-softmixer-4a.json | 81 ---------------------------- 2 files changed, 82 insertions(+), 81 deletions(-) create mode 100644 conf.d/project/etc/4a-softmixer-config.json delete mode 100644 conf.d/project/etc/config-softmixer-4a.json (limited to 'conf.d/project') diff --git a/conf.d/project/etc/4a-softmixer-config.json b/conf.d/project/etc/4a-softmixer-config.json new file mode 100644 index 0000000..9d89f07 --- /dev/null +++ b/conf.d/project/etc/4a-softmixer-config.json @@ -0,0 +1,82 @@ +{ + "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", + "ldpath": "package/lib/plugins", + "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" + } + ] +} diff --git a/conf.d/project/etc/config-softmixer-4a.json b/conf.d/project/etc/config-softmixer-4a.json deleted file mode 100644 index 345dde4..0000000 --- a/conf.d/project/etc/config-softmixer-4a.json +++ /dev/null @@ -1,81 +0,0 @@ -{ - "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" - } - ] -} -- cgit 1.2.3-korg