summaryrefslogtreecommitdiffstats
path: root/htdocs
diff options
context:
space:
mode:
authorTai Vuong <tvuong@audiokinetic.com>2017-11-07 23:55:32 -0500
committerTai Vuong <tvuong@audiokinetic.com>2017-11-07 23:55:32 -0500
commitb4049e48c1b1ff7ce1e412b7b86a1172de03951b (patch)
treebb6b2392e0eb05aac247510c542837ad4d4ebf1d /htdocs
parent62d1562669676641613f31f9949008b73d56b458 (diff)
API change, set mute is now an integer instead of string, fix memory leak, remove property value not implemented
Diffstat (limited to 'htdocs')
-rw-r--r--htdocs/audiohl.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/htdocs/audiohl.html b/htdocs/audiohl.html
index 0e153f5..6745ba1 100644
--- a/htdocs/audiohl.html
+++ b/htdocs/audiohl.html
@@ -8,7 +8,7 @@
<script type="text/javascript" src="AudioBinding.js"></script>
</head>
-<body onload="init('ahl-4a'); ep_type='sink' ; ar='Entertainment' ; ep_id=0 ; s_id=0 ; prop_val=0 ; vol_val='0' ; p_name='balance' ; st_state='idle' ; st_mute='off'">
+<body onload="init('ahl-4a'); ep_type='sink' ; ar='Entertainment' ; ep_id=0 ; s_id=0 ; prop_val=0 ; vol_val='0' ; p_name='balance' ; st_state='idle' ; st_mute=0">
<button id="connected" onclick="init('ahl-4a');">Binder WS Fail</button> <br><br>
<button id="monitoring" onclick="window.open('/monitoring/monitor.html','_monitor_audio')">Debug/Monitoring</a></button>
@@ -40,9 +40,9 @@
<option value='paused'>Paused</option>
</select><br>
<b>Stream Mute State</b>
- <select select_id='stream_mute' onclick='st_mute=this.value'>
- <option selected value='off'>Unmuted</option>
- <option value='on'>Muted</option>
+ <select select_id='stream_mute' onclick='st_mute=parseInt(this.value)'>
+ <option selected value='0'>Unmuted</option>
+ <option value='1'>Muted</option>
</select><br>
<b>Property</b>
<select select_id='property_name_list' onclick='p_name=this.value'>