Skip to content

Commit ccc90df

Browse files
committed
Set latencyHint to 'playback'
1 parent a424bd2 commit ccc90df

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/core/PlayerBase.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -807,6 +807,7 @@ export default class PlayerBase {
807807
} else if (!actx) {
808808
actx = this.audio = new AudioContext({
809809
sampleRate: this.proxy.sampleRate,
810+
latencyHint: 'playback',
810811
});
811812
this.isWorkletLoaded = false;
812813
}

0 commit comments

Comments
 (0)