Sign in to follow this  
Followers 0
poisonkiller

svennie Media UDF

3 posts in this topic

How can i do that: XXXX.mp3 will start playing, and if its played then YYYY.mp3 starts playing?

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

I started to create some UDFs a couple of weeks ago, but I never bothered to post them here when

I saw svennie's topic. Anyway, if you want to test them I attached two files for you to see...

To start playing a file, you can choose between using the standard SoundPlay(), or you can use

_SoundOpen() and then _SoundStart(). To do what you want, just use _SoundGetInfo(), and then

check if the status is "stopped". If it is, then start the next song B)

Edit : I forgot to mention that you can use _SoundStart() to "play", "pause", "resume" and "seek".

The UDFs are mostly coded at night so there might be bugs.

Edited by Helge

Share this post


Link to post
Share on other sites

oh.. thank you very very much! i hope you will create more UDF-s!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0