• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Hows wc3 handling soundfiles

Status
Not open for further replies.
Level 2
Joined
Mar 11, 2018
Messages
20
gonna be blunt, I prob figured the cause of my problem while creating accounts and typing this thread so, what's the cap on mp3 bitrate before stuff like GetSoundFileDuration start returning incorrect values?

edit: I have a 180kbps song that GetSoundFileDuration will add like 1min extra to, while another song with 168kbps returns expected result. Sample rates are the same

Seems i solved it, 180bit rate is not supported it has to follow 2^5 gaps.

edit again: seems it operates better with 24bit gaps(?) as song at 192kbps will also work correctly
 
Last edited:
Status
Not open for further replies.
Top