[Added] Increased sound channels on Actors, revisited

Moderator: GZDoom Developers

Re: Increased sound channels on Actors, revisited

Postby Graf Zahl » Tue Dec 17, 2019 4:39 am

Player701 wrote:
Nash wrote:Yes... or to be more specific, each actor can play more than 8 sound channels. 2,147,483,647 channels, if I'm reading it right. :mrgreen:

It looks like the channel number is stored as an 8-bit unsigned integer. This can lead to a confusion, considering that the corresponding ZScript argument is of type int. For example, I assigned an arbitrary random value to the channel number in my code, and then spent an hour debugging because IsActorPlayingSound did not seem to work... :-?



Thanks for pointing this out. Gonna change ASAP.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Previous

Return to Closed Feature Suggestions

Who is online

Users browsing this forum: No registered users and 1 guest