pull/21833/head
Travis Ralston 2021-07-12 13:52:10 -06:00
parent ec0f940ef0
commit 0e2bcb474d
2 changed files with 2 additions and 3 deletions

View File

@ -29,7 +29,6 @@ import { createAudioContext } from "./compat";
import { IEncryptedFile } from "matrix-js-sdk/src/@types/event";
import { uploadFile } from "../ContentMessages";
import { FixedRollingArray } from "../utils/FixedRollingArray";
import { arraySeed } from "../utils/arrays";
import { clamp } from "../utils/numbers";
const CHANNELS = 1; // stereo isn't important

View File

@ -42,8 +42,8 @@ describe('FixedRollingArray', () => {
const width = 24;
const array = new FixedRollingArray(width, seed);
let maxValue = width * 2;
let minValue = width; // because we're forcing a rollover
const maxValue = width * 2;
const minValue = width; // because we're forcing a rollover
for (let i = 0; i <= maxValue; i++) {
array.pushValue(i);
}