Suggestion: uos_PlayNoFree with a loop parameter

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Suggestion: uos_PlayNoFree with a loop parameter

fauri
Hi, Fred, me again!

So, what do you thing about uos_PlayNoFree could have a parameter "loop", and UOS to be able to realize this function internally? Something like to "Mix_PlayChannel" method, from SDL and SDL_Mixer (I don't know if you've seen before). In that function, loop parameter is a integer value, which -1 is infinite loop, while others values refer to number of repetitions.

It's possible that UOS could have a similar functionallity? Thanks!
Reply | Threaded
Open this post in threaded view
|

Re: Suggestion: uos_PlayNoFree with a loop parameter

fredvs
Administrator
Hello.

I will take a look.

Asap.

Fre;D
Reply | Threaded
Open this post in threaded view
|

Re: Suggestion: uos_PlayNoFree with a loop parameter

fredvs
Administrator
In reply to this post by fauri
Thanks to Phoenix, added in last commit: ---> uos_Play(nloop) and uos_PlayNoFree(nloop).

Please take a look at consoleplayloop demo.

Fre;D