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 23efef8878f332c677db8a08a5d53dd69c28a636..9d842fc7bad27256df8248b79a679317d466af7c 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() } }, }