• 🏆 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!

[General] 2 Sound questions

Status
Not open for further replies.
Level 6
Joined
Jun 4, 2017
Messages
172
-There are multiple audio channels in wc3, if I play multiple sounds(like 6-7) from different channels at the same time will some sound be omitted?

-Is it possible to give to a sound more priority than another one? Like if there are some low priority sounds playing and I need to play a more important sound but I can't(because wc3 is limited with the amount of sounds playing in the same time), can I detect the low priority sounds?.
 
Going by logic, I would say that it is possible, though I can't really have much of a say on that.

If priority is concerned, one will have to make a linked list that stores the instances sequentially. The behavior of the linked list is such that it is sorted from least to greatest, depending on volume.

Detecting low priority sounds would mean peeking at the first or last element of the list, depending on the implementation.
 
Status
Not open for further replies.
Top