yxw 2023-11-23 11:54:41 +08:00
parent d38739d605
commit 72c31e30b6
1 changed files with 4 additions and 4 deletions

View File

@ -1263,10 +1263,10 @@
let resData = res
if (resData.success) {
data = resData.content
lineinputValue = data.lineinput.audio.toFixed(1)
mic1Value = data.mic1.audio.toFixed(1)
mic2Value = data.mic2.audio.toFixed(1)
outputValue = data.output.audio.toFixed(1)
lineinputValue = parseFloat(data.lineinput.audio).toFixed(1)
mic1Value = parseFloat(data.mic1.audio).toFixed(1)
mic2Value = parseFloat(data.mic2.audio).toFixed(1)
outputValue = parseFloat(data.output.audio).toFixed(1)
console.log(typeof (lineinputValue), typeof (mic1Value), typeof (mic2Value), typeof (outputValue))
bindData()
}