fteqw icon indicating copy to clipboard operation
fteqw copied to clipboard

ogg and various sound builtins not beheaving.

Open pitchatan opened this issue 4 months ago • 1 comments

Running into specific issues with .OGG and various sound builtins.

getsoundtime() returns negative values nearing the end of a track. getsoundlength() seemingly works 99% of the time but will occasionally return limited values when files aren't cached in time.. i.e a rare issue and can be avoided if precaching sounds before using them.

soundupdate() will reset or time offset 100ms - 1second after being called despite only changing volume. (works fine for .wav etc, precaching does not help)

Suspecting a buffer issue on ogg decode.

Changing snd_buffersize, resample, khz, playbackrate and mixerthread does not help.

Tested on recent builds off of github actions, as well as official builds going back 3+ years... same issue.

Tested on Win64/Win32 builds.

pitchatan avatar Sep 09 '25 23:09 pitchatan

Can confirm, I also haven't had a good experience with the ogg system for anything but music.

eukara avatar Sep 29 '25 00:09 eukara