Update some Yarn plugins and fix bugs now detected.

This commit is contained in:
Matthew Stratford 2020-05-20 20:25:19 +01:00
parent 78c6b80915
commit 2c1c794198
3 changed files with 890 additions and 731 deletions

View file

@ -47,8 +47,8 @@ const App: React.FC = () => {
return <SessionHandler />;
} else {
var timeslotid: number | null = null;
if ("timeslot_id" in q) {
timeslotid = q.timeslot_id;
if (("timeslot_id" in q) && (typeof q.timeslot_id === "string")) {
timeslotid = parseInt(q.timeslot_id);
} else if (currentTimeslot.timeslot_id != null) {
timeslotid = currentTimeslot.timeslot_id;
}

View file

@ -636,12 +636,12 @@ export const setMicVolume = (level: MicVolumePresetEnum): AppThunk => (
// processing latency
if (levelVal !== 0) {
dispatch(
mixerState.actions.setMicLevels({ volume: levelVal, gain: levelVal })
mixerState.actions.setMicLevels({ volume: levelVal })
);
} else {
window.setTimeout(() => {
dispatch(
mixerState.actions.setMicLevels({ volume: levelVal, gain: levelVal })
mixerState.actions.setMicLevels({ volume: levelVal })
);
// latency, plus a little buffer
}, audioEngine.audioContext.baseLatency * 1000 + 150);

1613
yarn.lock

File diff suppressed because it is too large Load diff