Increased sound channels on Actors, revisited

Moderator: GZDoom Developers

User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49234
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Increased sound channels on Actors, revisited

Post by Graf Zahl »

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.
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”