aboutsummaryrefslogtreecommitdiffstats
path: root/conf.d/project
diff options
context:
space:
mode:
authorFulup Ar Foll <fulup@iot.bzh>2018-05-13 02:12:25 +0200
committerFulup Ar Foll <fulup@iot.bzh>2018-05-13 02:12:25 +0200
commit0eb15da6365910ba3f290e3254719fd412ae0155 (patch)
tree5dc1f6027573fe21b3519b2dbafd2b45bb151c73 /conf.d/project
parentca0965cae3ad129e495fd4615ebeb7c11b413a2b (diff)
First version muxing multiple audio streams.
Diffstat (limited to 'conf.d/project')
-rw-r--r--conf.d/project/lua.d/softmixer-01.lua9
1 files changed, 5 insertions, 4 deletions
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