summaryrefslogtreecommitdiffstats
path: root/conf.d/project/lua.d/softmixer-simple.lua
diff options
context:
space:
mode:
authorFulup Ar Foll <fulup@iot.bzh>2018-05-17 12:48:12 +0200
committerFulup Ar Foll <fulup@iot.bzh>2018-05-17 12:48:12 +0200
commit29f5fc4e093b8793eaeeef056d0b998182269718 (patch)
treedfeab4eec7f485c40c595fa045cdf734b0a3e37b /conf.d/project/lua.d/softmixer-simple.lua
parentea9cd4223a9ff1f0da3276ea12727a59ab09531f (diff)
Cleanup soft vol control creation
Diffstat (limited to 'conf.d/project/lua.d/softmixer-simple.lua')
-rw-r--r--conf.d/project/lua.d/softmixer-simple.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/conf.d/project/lua.d/softmixer-simple.lua b/conf.d/project/lua.d/softmixer-simple.lua
index 9f00ce1..e78eacd 100644
--- a/conf.d/project/lua.d/softmixer-simple.lua
+++ b/conf.d/project/lua.d/softmixer-simple.lua
@@ -71,7 +71,7 @@ function _mixer_config_ (source, args)
-- ============================= Sound Cards ===================
- local sndcard_0 = {
+ local snd_yamaha = {
["uid"]= "YAMAHA-APU70",
["devpath"]= "/dev/snd/by-id/usb-YAMAHA_Corporation_YAMAHA_AP-U70_USB_Audio_00-00",
["params"] = snd_params,
@@ -81,7 +81,7 @@ function _mixer_config_ (source, args)
}
}
- local sndcard_1 = {
+ local snd_jabra= {
["uid"]= "Jabra-Solemate",
["devpath"]= "/dev/snd/by-id/usb-0b0e_Jabra_SOLEMATE_v1.34.0-00",
["params"] = snd_params,
@@ -93,7 +93,7 @@ function _mixer_config_ (source, args)
-- group sound card as one multi channels card
local sndcards= {
- sndcard_1,
+ snd_yamaha,
}
error,response= smix:snd_cards (source, sndcards)