• 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.

[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