mirror of
https://codeberg.org/uzu/strudel
synced 2026-09-06 15:11:02 -04:00
up latency
This commit is contained in:
@@ -174,7 +174,7 @@ export const resetLoadedSounds = () => soundMap.set({});
|
||||
let audioContext;
|
||||
|
||||
export const setDefaultAudioContext = () => {
|
||||
audioContext = new AudioContext();
|
||||
audioContext = new AudioContext({ latencyHint: 'playback' });
|
||||
return audioContext;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user