aboutsummaryrefslogtreecommitdiffstats
path: root/htdocs/alsa-core.html
blob: 29878329068849398a56ce84f5ad1a70c58a499a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<html>
<head>
    <title>Hello world test</title>
    
    <script type="text/javascript" src="AFB-websock.js"></script>
    <script type="text/javascript" src="AudioBinding.js"></script>

<body onload="init();">
    <h1>Hello world test</h1>
    <button id="connected">Binder WS Fail</button></li>
    <br>
    <ol>
    <li><a href="api/alsacore/getinfo">getinfo: List Sound Cards</a>
    <li><a href="api/alsacore/getinfo?devid=hw:0">Card info about hw:0</a>
    <li><a href="api/alsacore/getctls?devid=hw:0">List All Controls for hw:0 (quiet)</a>
    <li><a href="api/alsacore/getctls?devid=hw:0&quiet=0">List controls for hw:0 (verbose)</a>
    <li><a href="api/alsacore/getctls?devid=hw:0&numids=[1,2]&quiet=0">List Controls 1+2 for hw:0 (verbose)</a>
    <li><a href="api/alsacore/getctls?devid=hw:0&numids=1&quiet=0">return control numid=1 for hw:0</a>
    <br>    
    <li><button onclick="callbinder('alsacore','subscribe', {devid:devid})">Subscribe AlsaCtl Events</button></li>
    <br>    
    <div id="main" style="visibility:hidden">
    Server says... <div id="output"></div>
    Events: <div id="outevt"></div>
    </div>