Update some Yarn plugins and fix bugs now detected.
This commit is contained in:
parent
78c6b80915
commit
2c1c794198
3 changed files with 890 additions and 731 deletions
|
@ -47,8 +47,8 @@ const App: React.FC = () => {
|
||||||
return <SessionHandler />;
|
return <SessionHandler />;
|
||||||
} else {
|
} else {
|
||||||
var timeslotid: number | null = null;
|
var timeslotid: number | null = null;
|
||||||
if ("timeslot_id" in q) {
|
if (("timeslot_id" in q) && (typeof q.timeslot_id === "string")) {
|
||||||
timeslotid = q.timeslot_id;
|
timeslotid = parseInt(q.timeslot_id);
|
||||||
} else if (currentTimeslot.timeslot_id != null) {
|
} else if (currentTimeslot.timeslot_id != null) {
|
||||||
timeslotid = currentTimeslot.timeslot_id;
|
timeslotid = currentTimeslot.timeslot_id;
|
||||||
}
|
}
|
||||||
|
|
|
@ -636,12 +636,12 @@ export const setMicVolume = (level: MicVolumePresetEnum): AppThunk => (
|
||||||
// processing latency
|
// processing latency
|
||||||
if (levelVal !== 0) {
|
if (levelVal !== 0) {
|
||||||
dispatch(
|
dispatch(
|
||||||
mixerState.actions.setMicLevels({ volume: levelVal, gain: levelVal })
|
mixerState.actions.setMicLevels({ volume: levelVal })
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
window.setTimeout(() => {
|
window.setTimeout(() => {
|
||||||
dispatch(
|
dispatch(
|
||||||
mixerState.actions.setMicLevels({ volume: levelVal, gain: levelVal })
|
mixerState.actions.setMicLevels({ volume: levelVal })
|
||||||
);
|
);
|
||||||
// latency, plus a little buffer
|
// latency, plus a little buffer
|
||||||
}, audioEngine.audioContext.baseLatency * 1000 + 150);
|
}, audioEngine.audioContext.baseLatency * 1000 + 150);
|
||||||
|
|
Loading…
Reference in a new issue