Fyrox icon indicating copy to clipboard operation
Fyrox copied to clipboard

Sound is played with delay, without no obvious reason

Open 64kramsystem opened this issue 3 years ago • 0 comments

In a project of mine, a sound is played with delay, without any obvious reason (the sound file itself has no silence samples at the beginning).

This happens all the time. I'm on Linux, with AMD discrete graphics card and open source drivers.

The project is a very direct port of another, where this problem doesn't happen (so, it's not something related, say, to problems with the audio subsystem in itself).

In order to reproduce:

git clone [email protected]:64kramsystem/rust-game-ports
cd rust-game-ports/soccer-fyrox
cargo run --release

now tap up/down arrows; the sound played should sound immediately on keypress, but it has a delay instead.

64kramsystem avatar Jun 07 '22 21:06 64kramsystem