[Implemented] Method to check if a sound is playing

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

[Implemented] Method to check if a sound is playing

Post by Trond »

Wish: Method to check if a sound is currently playing.

Alternatively, a method to check the length of the sound would do, I could do the timing myself.
User avatar
Fou-Lu
Enthusiast
Enthusiast
Posts: 201
Joined: Tue Jul 12, 2005 8:30 am
Location: I'm pretty sure this is all a nightmare
Contact:

Post by Fou-Lu »

I didn't even notice it wasn't there!! :shock:
You are right, but you could use FileSize() to get the size of your sound. But it would be hard to know accurately if the sound is playing just with that...

~Fou-Lu (aka Lørd Cinneris (actually Elias Sant'Ana))

Image Image
User avatar
Rescator
Addict
Addict
Posts: 1769
Joined: Sat Feb 19, 2005 5:05 pm
Location: Norway

Post by Rescator »

IsSoundPlaying()

search.php?mode=results

Yeah I know you allready know this Trond,
just for the newbies and for forum search redundancy sake :)
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

I don't understand what you mean. There is no function IsSoundPlaying().
eevee
User
User
Posts: 69
Joined: Sat Jan 08, 2005 6:24 pm
Location: UK

Post by eevee »

The following thread does include an IsSoundPlaying function that works well under Windows:-

viewtopic.php?p=83210&highlight=#83210
Regards,

Ernest
User avatar
Rescator
Addict
Addict
Posts: 1769
Joined: Sat Feb 19, 2005 5:05 pm
Location: Norway

Post by Rescator »

Gah I must have been out of it making that post! I ment to post a thread url. *laughs*
User avatar
Fluid Byte
Addict
Addict
Posts: 2336
Joined: Fri Jul 21, 2006 4:41 am
Location: Berlin, Germany

Post by Fluid Byte »

*BUMP*

It's kinda ridiculous that this command is still missing, don't you think?

PS: I need this so bad ... :evil:
Windows 10 Pro, 64-Bit / Whose Hoff is it anyway?
Post Reply