diff --git a/src/content/audioContext.ts b/src/content/audioContext.ts index 1464e024..4ac9a42e 100644 --- a/src/content/audioContext.ts +++ b/src/content/audioContext.ts @@ -1,4 +1,6 @@ -export const audioContext = new AudioContext(); +export const audioContext = new AudioContext({ + latencyHint: 'playback', +}); // Doing it the way it's suggested in https://stackoverflow.com/a/39725071/10406353 export const mediaElementSourcesMap: WeakMap = new WeakMap();