提交 d2a3e072 编写于 作者: M mahaifeng

[audio] 去掉播放速度判断条件

上级 c96772fc
...@@ -274,10 +274,10 @@ ...@@ -274,10 +274,10 @@
} }
}, },
playbackRateChange(e : UniRadioGroupChangeEvent) { playbackRateChange(e : UniRadioGroupChangeEvent) {
if (this._audioContext != null && this.isPlaying) { // if (this._audioContext != null && this.isPlaying) {
console.log(parseFloat(e.detail.value)) console.log(parseFloat(e.detail.value))
this._audioContext!.playbackRate = parseFloat(e.detail.value).toDouble() this._audioContext!.playbackRate = parseFloat(e.detail.value).toDouble()
} // }
}, },
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册