You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For years, SoundDuration hasn't properly supported OGG files. OGG files are integral for optimization in an addon, and the worst part of this is when systems rely heavily on SoundDuration for sound timers and they get messed up when using OGG files.
While I don't have access to the source code to confirm the exact cause, my best guess based on my own tests, is that it's failing to extract or process the sample rate and granule position stored within OGG file headers.
The referenced code isn't a genuine solution, just a proof of concept. Again if I had to guess its probably just because there is no actual checks for OGG files specifically. An implemented fix into the source code would be greatly appreciated!
The text was updated successfully, but these errors were encountered:
For years, SoundDuration hasn't properly supported OGG files. OGG files are integral for optimization in an addon, and the worst part of this is when systems rely heavily on SoundDuration for sound timers and they get messed up when using OGG files.
While I don't have access to the source code to confirm the exact cause, my best guess based on my own tests, is that it's failing to extract or process the sample rate and granule position stored within OGG file headers.
In lua, I put together a VERY ugly code to properly calculate the sound duration for OGG files. However because Im doing this through lua, it is extremely hard on the game and causes lag spikes every time it runs: https://github.com/Cpt-Hazama/SoundDuration-OGG-Solution/blob/master/lua/autorun/ogg.solution.lua
The referenced code isn't a genuine solution, just a proof of concept. Again if I had to guess its probably just because there is no actual checks for OGG files specifically. An implemented fix into the source code would be greatly appreciated!
The text was updated successfully, but these errors were encountered: