From e904b7da51297b0417df31ab79568c3f1243fb64 Mon Sep 17 00:00:00 2001 From: Fulup Ar Foll Date: Tue, 8 May 2018 22:12:35 +0200 Subject: Fist AlsaLoop model playing music (work in progress) --- conf.d/project/etc/4a-softmixer-config.json | 9 ++++--- conf.d/project/htdocs/index.html | 18 +------------ conf.d/project/lua.d/softmixer-01.lua | 39 +++++++++++++++++++++++------ 3 files changed, 38 insertions(+), 28 deletions(-) (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 index db13705..e66a2e6 100644 --- a/conf.d/project/etc/4a-softmixer-config.json +++ b/conf.d/project/etc/4a-softmixer-config.json @@ -4,13 +4,12 @@ "uid": "Soft Mixer", "version": "1.0", "api": "softmixer", - "info": "Soft Mixer emulating hardware mixer", - "require": ["alsacore"] + "info": "Soft Mixer emulating hardware mixer" }, "plugins": [ { "uid": "alsa-router", - "ldpath": "package/lib/plugins", + "ldpath": "./plugins/alsa", "lua2c": ["AlsaDmix", "AlsaRouter"], "info": "Map alsa-loop subdevices to 4A HAL streams" } @@ -79,6 +78,10 @@ }], "controls": [ + { + "uid": "mixer-config", + "lua": "_mixer_config_" + }, { "uid": "stream", "callback": { diff --git a/conf.d/project/htdocs/index.html b/conf.d/project/htdocs/index.html index 9a7d66f..600f7e0 100644 --- a/conf.d/project/htdocs/index.html +++ b/conf.d/project/htdocs/index.html @@ -13,25 +13,9 @@

-

V2 API CALL

-
    -
  1. -
  2. -
    -
  3. -
-

V3 API CALL

    -
  1. -
  2. -
    -
  3. -
- -

Signal/Timeout

-
    -
  1. +