Offload some more waveform processing onto a worker (#9223)

This commit is contained in:
Michael Telatynski
2023-04-27 11:02:20 +01:00
committed by GitHub
parent ca25c8f430
commit e1f7b0af2c
15 changed files with 231 additions and 72 deletions

View File

@@ -18,8 +18,9 @@ import React from "react";
import { arraySeed, arrayTrimFill } from "../../../utils/arrays";
import Waveform from "./Waveform";
import { Playback, PLAYBACK_WAVEFORM_SAMPLES } from "../../../audio/Playback";
import { Playback } from "../../../audio/Playback";
import { percentageOf } from "../../../utils/numbers";
import { PLAYBACK_WAVEFORM_SAMPLES } from "../../../audio/consts";
interface IProps {
playback: Playback;