keep the output_rate on sdr change

This commit is contained in:
Jakob Ketterl
2019-11-26 20:10:26 +01:00
parent b774e75f2c
commit fe39c2712d
2 changed files with 17 additions and 5 deletions

View File

@ -1419,10 +1419,13 @@ function on_ws_opened() {
}
reconnect_timeout = false;
ws.send(JSON.stringify({
"type": "dspcontrol",
"action": "start",
"type": "connectionproperties",
"params": {"output_rate": audioEngine.getOutputRate()}
}));
ws.send(JSON.stringify({
"type": "dspcontrol",
"action": "start"
}));
}
var was_error = 0;