caiiiycuk / js-dos

The best API for running dos programs in browser
https://js-dos.com
1.05k stars 128 forks source link

When the game has music output, the game will less smooth. #347

Open citee520 opened 1 month ago

citee520 commented 1 month ago

When the game has music output, it becomes less smooth, but when the music is turned off, it runs normally.

caiiiycuk commented 1 month ago

Yep, this happens because sound messages occupy some space in buffer between render thread and worker. This creates some lag, however don't see any way how to solve it.