• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

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