diff --git a/pages/API/create-inner-audio-context/create-inner-audio-context.uvue b/pages/API/create-inner-audio-context/create-inner-audio-context.uvue index 448a32228235311c1dbdb8ccc62e5b887628ffa8..eccf2db4d2b1d0ce452204a2e4c2e9e2b5304391 100644 --- a/pages/API/create-inner-audio-context/create-inner-audio-context.uvue +++ b/pages/API/create-inner-audio-context/create-inner-audio-context.uvue @@ -154,7 +154,6 @@ this._isChanging = true; }, onchange(e : UniSliderChangeEvent) { - let pos = e.detail.value; console.log('pos', pos); this._audioContext!.seek(pos); @@ -277,7 +276,7 @@ playbackRateChange(e : UniRadioGroupChangeEvent) { if (this._audioContext != null && this.isPlaying) { console.log(parseFloat(e.detail.value)) - this._audioContext!.playbackRate = parseFloat(e.detail.value) + this._audioContext!.playbackRate = parseFloat(e.detail.value).toDouble() } }, }