summaryrefslogtreecommitdiffstats
path: root/htdocs/alsa-hal.html
diff options
context:
space:
mode:
authorfulup <fulup.arfoll@iot.bzh>2017-07-09 19:59:24 +0200
committerfulup <fulup.arfoll@iot.bzh>2017-07-09 19:59:24 +0200
commitdb4d63597b22b63eb73b5c0558476652ed4988bb (patch)
tree839d67c2dd32064f1047f788f70860cf3036e691 /htdocs/alsa-hal.html
parent3d5816a07c22dd6c655a60000fb0f175d613e484 (diff)
initial version of HAL (registration + getctls)
Work in progress
Diffstat (limited to 'htdocs/alsa-hal.html')
-rw-r--r--htdocs/alsa-hal.html34
1 files changed, 34 insertions, 0 deletions
diff --git a/htdocs/alsa-hal.html b/htdocs/alsa-hal.html
new file mode 100644
index 0000000..15c1661
--- /dev/null
+++ b/htdocs/alsa-hal.html
@@ -0,0 +1,34 @@
+<html>
+<head>
+ <title>Basic Audio Hardware Abstraction Layer Test</title>
+
+ <script type="text/javascript" src="AFB-websock.js"></script>
+ <script type="text/javascript" src="AudioBinding.js"></script>
+
+<b> references</b>
+ <ol>
+ <li>http://localhost:1234/alsa-core.html?haldev=scarlett-usb</li>
+ </ol>
+
+<body onload="init();">
+ <h1>Hello world test</h1>
+ <button id="connected" onclick="init()">Binder WS Fail</button></li>
+ <br>
+ <ol>
+ <li><button onclick="callbinder('alsacore','hallist')">List Existing HAL</button></li>
+
+ <li><button onclick="callbinder(haldev,'listctls')">List Active HAL Controls </button></li>
+ <br>
+ <li><button onclick="callbinder(haldev,'getctls', {label:'Master_Playback_Volume'})">Get {label:'Master_Playback_Volume'}</button></li>
+ <li><button onclick="callbinder(haldev,'getctls', [{tag:4},{tag:5}])">Get[{tag:4},{tag:5}]</button></li>
+ <li><button onclick="callbinder(haldev,'getctls', [4,5])">Get [4,5]</button></li>
+ <br>
+ </ol>
+
+ <div id="main" style="visibility:hidden">
+ <ol>
+ <li>Question <div id="question"></div>
+ <li>Response <div id="output"></div>
+ <li>Events: <div id="outevt"></div>
+ </ol>
+ </div>