On Sunday 11 March 2012 20:26:35 David Robillard wrote: > Because the host needs to know where all the files are to make session > archival possible.
Yes, makes sense. > > Anyway, if you really need to enumerate all files, tell me, then I will > > patch libgig for this task. > > That would be great, thanks. Please update libgig and linuxsampler from svn. The EngineChannel class now has a method: String EngineChannel::InstrumentFileName(int index) additionally to the already existing, equal named method without argument. So calling this new method with argument zero is equivalent as calling the method without argument, that is it will return the file name of the "main" instrument file (e.g. "foo.gig"), where as calling the method with argument 1, 2, 3, ... will return the name of the respective extension file (e.g. "foo.gx01", "foo.gx02", "foo.gx03", ...). It will return an empty string if index is out of bounds (e.g. end of extension file list exceeded). Let me know if you need something else. CU Christian ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Linuxsampler-devel mailing list Linuxsampler-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxsampler-devel