[Gambas-user] Read header of MP3 file.

Leo Barnhoorn leo.barnhoorn at ...246...
Sun Oct 31 16:19:01 CET 2004


Hello Fabien,

Yes that's a good way to make it faster, i will make the change to the 
program, and upload it to your site Fabien.

Thanks for the idea.

Regards,
Leo.

On Sunday 31 October 2004 12:34, Bodard Fabien wrote:
> Hi leo
>
> PRIVATE FUNCTION GetGenreFromID(iListGenre AS Integer) AS String
>
> Dim arGenre as new String[]
>
> arGenre = array["genre1", "genre2", etc...]
> if iListGenre > 125 then iListGenre = 125
> return arGenre[iListGenre]
> END
>
> More simple no ?
>
> You can fill the array in the constructor... By this way... i think it's
> more speedy.
>
> Add this to my site... i will add the update page today... it work... but
> i've not updated the site. I've made a parser too  to colorize the code.
>
> Fabien Bodard
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by:
> Sybase ASE Linux Express Edition - download now for FREE
> LinuxWorld Reader's Choice Award Winner for best database on Linux.
> http://ads.osdn.com/?ad_idU88&alloc_id065&opÌk
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user





More information about the User mailing list