Skip to content

Commit 01609ab

Browse files
committed
fix: correct highWaterMark value in FlowController constructor
1 parent 5340c71 commit 01609ab

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/playback/processing/FlowController.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const FRAME_SIZE = 3840
44

55
export class FlowController extends Transform {
66
constructor(filters, volume, fade, audioMixer = null) {
7-
super({ highWaterMark: 1920 })
7+
super({ highWaterMark: FRAME_SIZE * 4 })
88

99
this.filters = filters
1010
this.volume = volume

0 commit comments

Comments
 (0)