Hi Emmanuel, i applied your tooltip patch this week. Your patch for the segfault-bug was a little bit buggy: Setting nInstrument to "0" means that EVERY sample goes to jack-channel 0. This makes no sense if you use seperate outputs for the instruments. I wrote a different bugfix today, it's in svn now. The position gets now forced to 0 only if the instrument was not found in the current drumkit.. But anyway thanks for the patch, it saved me a lot of debugging time :) Thanks, Sebastian
Emmanuel Saracco schrieb: > [Already sent with thread "Segfault on double-clicking a instrument in > the "Sound library" frame", but sent here alone with revelant subject] > > Hi, > > This patch avoid a segfault when double-clicking a drumkit's > instrument in the "Sound library" panel. The problems seems to be that > the instrument position is not found in the current drumkit and "-1" > is return, which is bad. So, force the position to be 0 seems to be > fix the problem. > > It is certainly not the right way to do it, but at least the attached > patch seems to solve the problem for me. > > However, I know it is crappy :-) > > Bye > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > ------------------------------------------------------------------------ > > _______________________________________________ > Hydrogen-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/hydrogen-devel ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Hydrogen-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/hydrogen-devel
