• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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