On vendredi 20 juin 2008, Patrik Karlsson wrote: > Hello, I'm about to port an old Delphiapp to a nicer environment and > I'm looking at Gambas to do the work, Gambas is realy nice! > > One function I used in Delphi was to get the length of the sound > played in TMediaPlayer, since I would like things done after 80%, > 90%... > Music.Pos tells me where I am, but I can not found a function that > tells me how far I have to go. > > Is there a solution to this?
Alas, if I remember correctly, the SDL library has no method to know the length of the music! I don't know if it has changed recently, I will check... -- Benoit Minisini ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user