summaryrefslogtreecommitdiffstats
path: root/htdocs/alsa-hal.html
blob: ce48ff3989fdf9d43234a91503918abaffc69f40 (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
26
27
28
29
30
31
32
33
34
35
36
37
<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>
</head>

    
<body onload="init('hal_registry','alsacore', 'hallist')">
        
<b> references</b>
    
    <h1>Simple AlsaHAL tests</h1>
    <button id="connected" onclick="init('hal_registry','alsacore', 'hallist')">Binder WS Fail</button>
    <br><br>
    <b>Selected HAL </b>
    <select id='hal_registry'></select>
    <br>

    <br>
    <ol>
        
    <li><button onclick="callbinder(halapi,'listctls')">List Selected HAL Controls </button></li>
    <li><button onclick="callbinder(halapi,'getctls', {label:'Master_Playback_Volume'})">Get  {label:'Master_Playback_Volume'}</button></li>
    <li><button onclick="callbinder(halapi,'getctls', [{tag:4},{tag:5}])">Get[{tag:4},{tag:5}]</button></li>
    <li><button onclick="callbinder(halapi,'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>