From 0eb15da6365910ba3f290e3254719fd412ae0155 Mon Sep 17 00:00:00 2001 From: Fulup Ar Foll Date: Sun, 13 May 2018 02:12:25 +0200 Subject: First version muxing multiple audio streams. --- conf.d/project/lua.d/softmixer-01.lua | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'conf.d/project/lua.d/softmixer-01.lua') diff --git a/conf.d/project/lua.d/softmixer-01.lua b/conf.d/project/lua.d/softmixer-01.lua index 8b586a7..ed60192 100644 --- a/conf.d/project/lua.d/softmixer-01.lua +++ b/conf.d/project/lua.d/softmixer-01.lua @@ -33,6 +33,7 @@ end function _mixer_config_ (source, args) do local error + local response -- ============================= Sound Cards =================== @@ -77,7 +78,7 @@ function _mixer_config_ (source, args) sndcard_2, } - error= L2C:snd_cards (source, sndcards) + error,response= L2C:snd_cards (source, sndcards) if (error ~= 0) then AFB:error (source, "--InLua-- L2C:snd_cards fail to attach sndcards=%s", Dump_Table(sndcards)) goto OnErrorExit @@ -122,7 +123,7 @@ function _mixer_config_ (source, args) zone_back, } - error= L2C:snd_zones (source, multi_zones) + error,response= L2C:snd_zones (source, multi_zones) if (error ~= 0) then AFB:error (source, "--InLua-- L2C:snd_zones fail to attach sndcards=%s", Dump_Table(multi_zones)) goto OnErrorExit @@ -148,7 +149,7 @@ function _mixer_config_ (source, args) } } - error= L2C:snd_loops (source, snd_aloop) + error,response= L2C:snd_loops (source, snd_aloop) if (error ~= 0) then AFB:error (source, "--InLua-- L2C:snd_loops fail to attach sndcards=%s", Dump_Table(aloop)) goto OnErrorExit @@ -186,7 +187,7 @@ function _mixer_config_ (source, args) stream_children, } - error= L2C:snd_streams (source, snd_streams) + error,response= L2C:snd_streams (source, snd_streams) if (error ~= 0) then AFB:error (source, "--InLua-- L2C:snd_streams fail to attach sndcards=%s", Dump_Table(aloop)) goto OnErrorExit -- cgit