[Gambas-user] sdl music

Shane shanep1967 at ...169...
Tue Jan 28 00:35:11 CET 2014


On 28/01/14 05:46, Benoît Minisini wrote:
> Le 27/01/2014 19:39, Benoît Minisini a écrit :
>> 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,
>>
> And I added a Music.State property in revision #6108 to do what you want.
>
> Regards,
>
thats great thanks very much keep up the great work :-)





More information about the User mailing list