Staredit Network > Forums > General StarCraft > Topic: Sound channels in BW
Sound channels in BW
Dec 20 2014, 9:54 pm
By: theleo_ua  

Dec 20 2014, 9:54 pm theleo_ua Post #1



Doom2 has 8 audio channels (8 sounds max can play at the same time), SC2 has 16 min and 128 max (you can change this in options, like in screenshot below):



But how many channels are in BW?

Post has been edited 1 time(s), last time on Dec 23 2014, 11:57 pm by theleo_ua.



None.

Dec 21 2014, 4:23 am jjf28 Post #2

Cartography Artisan

I assume it's built like this: a sound causing event occurs, BroodWar calls a sound method like "PlayTrigWav" or "PlayUnitSpeech" causing a call to a generic sound playing method (PlayBwSound, for example), PlayBwSound calls some method based on the operating system, (like PlaySound), with the SND_ASYNC flag).

With that kind of setup StarCraft wouldn't be dealing with sound channels (at least not directly); this matches the common knowledge that WAVs in maps cannot be stopped partway through and will just overlap, and fits with how a time strained team would want to write sound handling... though if BroodWar did indeed have say, 16 channels, playing 16 WAVs might hold the key to stopping WAVs mid-stream :)

I'm not basing this off any code/inside knowledge, someone else may have a better understanding.



TheNitesWhoSay - Clan Aura - github

Reached the top of StarCraft theory crafting 2:12 AM CST, August 2nd, 2014.

Dec 21 2014, 9:40 am Sand Wraith Post #3

she/her

Mesk or an affiliate of his reported 8 sound channels or thereabouts. It was low to the point of being noteworthy in any case. It's worth checking with the DirectX version BW uses, or asking Hercannic, he'd probably know.

edit: bw probably does a fair bit of sound handling of its own given its use of positional audio. idk, can't check atm.




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[01:53 am]
Ultraviolet -- :lol:
[06:51 pm]
Vrael -- It is, and I could definitely use a company with a commitment to flexibility, quality, and customer satisfaction to provide effective solutions to dampness and humidity in my urban environment.
[06:50 pm]
NudeRaider -- Vrael
Vrael shouted: Idk, I was looking more for a dehumidifer company which maybe stands out as a beacon of relief amidst damp and unpredictable climates of bustling metropolises. Not sure Amazon qualifies
sounds like moisture control is often a pressing concern in your city
[06:50 pm]
Vrael -- Maybe here on the StarEdit Network I could look through the Forums for some Introductions to people who care about the Topics of Dehumidifiers and Carpet Cleaning?
[06:49 pm]
Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
[06:48 pm]
Vrael -- On this Topic, I could definitely use some Introductions.
[06:48 pm]
Vrael -- Perhaps that utilizes cutting-edge technology and eco-friendly cleaning products?
[06:47 pm]
Vrael -- Do you know anyone with a deep understanding of the unique characteristics of your carpets, ensuring they receive the specialized care they deserve?
[06:45 pm]
NudeRaider -- Vrael
Vrael shouted: I've also recently becoming interested in Carpet Cleaning, but I'd like to find someone with a reputation for unparalleled quality and attention to detail.
beats me, but I'd make sure to pick the epitome of excellence and nothing less.
[06:41 pm]
Vrael -- It seems like I may need Introductions to multiple companies for the Topics that I care deeply about, even as early as Today, 6:03 am.
Please log in to shout.


Members Online: lil-Inferno, C(a)HeK, Ultraviolet