On Donnerstag, 20. Dezember 2018 11:38:04 CET Christian Schoenebeck wrote: > On Donnerstag, 20. Dezember 2018 00:10:00 CET Ivan Maguidhir wrote: > > I've attached an updated version of the linuxsampler-2.1.0.svn1 patch I > > submitted on Tuesday morning. > > The previous one should have worked most of the time but the logic > > wasn't quite correct. I'm using copies of Tascam GigaPiano II, edited in > > gigedit, to test my changes btw and they appear to be working. > > I probably have to adjust your changes a bit. I will do so in the next > couple days.
Question, what's that about? - if (fileNo == lastFileNo) break; + if (fileNo == lastFileNo) { + // add the .gx99 extension file if present + // this can be present even with a single .gig file + sprintf(suffix, ".gx%02d", 99); + name.replace(nameLen, 5, suffix); + try { + file = new RIFF::File(name); + ExtensionFiles.push_back(file); + } + catch(...) { + } + break; + } // open extension file (*.gx01, *.gx02, ...) fileNo++; You have libraries where you only have two files like foo.gig and foo.gx99 ? Sounds very odd to me. CU Christian _______________________________________________ Linuxsampler-devel mailing list Linuxsampler-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxsampler-devel