summaryrefslogtreecommitdiffstats
path: root/conf.d/project/htdocs/AudioBinding.js
diff options
context:
space:
mode:
authorFulup Ar Foll <fulup@iot.bzh>2018-05-13 01:22:24 +0200
committerFulup Ar Foll <fulup@iot.bzh>2018-05-13 01:22:24 +0200
commitca0965cae3ad129e495fd4615ebeb7c11b413a2b (patch)
tree50aa199d84df3f7e61a7e653e57e8af2fd760e61 /conf.d/project/htdocs/AudioBinding.js
parent1dd1509a02fee564ff87f80c2f29055d7aad889c (diff)
Initial version with softvol,Route,Multi,Dmix
Diffstat (limited to 'conf.d/project/htdocs/AudioBinding.js')
-rw-r--r--conf.d/project/htdocs/AudioBinding.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/conf.d/project/htdocs/AudioBinding.js b/conf.d/project/htdocs/AudioBinding.js
index 0f5caf9..1e539c2 100644
--- a/conf.d/project/htdocs/AudioBinding.js
+++ b/conf.d/project/htdocs/AudioBinding.js
@@ -39,8 +39,8 @@
}
// default soundcard is "PCH"
- var devid=getParameterByName("devid");
- if (!devid) devid="hw:1";
+ var cardid=getParameterByName("cardid");
+ if (!cardid) cardid="hw:1";
var haldev=getParameterByName("haldev");
if (!haldev) haldev="scarlett-usb";
@@ -115,7 +115,7 @@
// Alsa LowLevel selection mode
if (response[idx].name) opt.text = response[idx].name;
- if (response[idx].devid) opt.value = response[idx].devid;
+ if (response[idx].cardid) opt.value = response[idx].cardid;
// HAL selection mode
if (response[idx].shortname) opt.text = response[idx].shortname;