[Added] Check if sound is currently playing in a channel

Moderator: GZDoom Developers

Re: Check if sound is currently playing in a channel

Postby Apeirogon » Tue Dec 17, 2019 2:04 am

IMO it would be better if "is play sound()" method would return sound id instead of bool.
User avatar
Apeirogon
I have a strange sense of humour
 
Joined: 12 Jun 2017

Re: Check if sound is currently playing in a channel

Postby Marisa Kirisame » Tue Dec 17, 2019 2:08 am

Hm, also, wouldn't it be better if this function was clearscope? it could have its uses on the ui too. Hell, one could even make a close captions mod with that.
User avatar
Marisa Kirisame
ZScript Crimester
 
 
 
Joined: 08 Feb 2008
Location: Vigo, Galicia
Discord: 霧雨魔理沙#1666
Twitch ID: magusmarisa
Github ID: OrdinaryMagician
Operating System: Other Linux 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: Check if sound is currently playing in a channel

Postby Graf Zahl » Tue Dec 17, 2019 2:59 am

Marisa Kirisame wrote:Hm, also, wouldn't it be better if this function was clearscope? it could have its uses on the ui too. Hell, one could even make a close captions mod with that.


Done. I also renamed it.
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 2 guests