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 />;
|
||||
} 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;
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue