[Gambas-user] sdl music
Benoît Minisini
gambas at ...1...
Mon Jan 27 19:39:53 CET 2014
Le 27/01/2014 11:17, Shane a écrit :
> Can Someone please add a playing property to the sdl music component it
> looks easy
> using
>
>
> 4.5.19 Mix_PlayingMusic
>
> |int *Mix_PlayingMusic*()|
>
> Tells you if music is actively playing, or not.
> *Note*: Does not check if the channel has been paused.
>
> *Returns*: Zero if the music is not playing, or 1 if it is playing.
>
> this would be great thanks in advance
>
You can check the value of Music.Pos. If is different from zero, then
the music is playing or paused.
Regards,
--
Benoît Minisini
More information about the User
mailing list