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 :-)
------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user