Hi jakob, cannot build rev. 371 anymore. scons??? -1.0 -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui libs/hydrogen/src/sampler/sampler.cpp libs/hydrogen/src/sampler/sampler.cpp: In member function ‘void H2Core::Sampler::preview_instrument(H2Core::Instrument*)’: libs/hydrogen/src/sampler/sampler.cpp:710: error: expected `;' before ‘__preview_instrument’ libs/hydrogen/include/hydrogen/instrument.h: At global scope: libs/hydrogen/include/hydrogen/instrument.h:131: warning: inline function ‘H2Core::InstrumentLayer* H2Core::Instrument::get_layer(int)’ used but never defined scons: *** [libs/hydrogen/src/sampler/sampler.o] Error 1 scons: building terminated because of errors.
I don't know exactly what you planed to do, so it is not possible for me to debug this problem. imo, we have branches for so big changes into one of the hydrogen main systems. wolke Am Fri, 22 Aug 2008 00:21:27 +0200 schrieb Jakob Lund <[EMAIL PROTECTED]>: > Hi > > On Thursday 21 August 2008 23:10:21 Krzysztof Foltman wrote: > > Jakob Lund wrote: > > > Earlier versions didn't `delete` Instrument objects at all, because Note > > > objects that reference them _might_ still live in the sequencer-, midi- > > > or sampler note queues. I'm trying now to mark each instrument that has a > > > not in one of these queues, and then postpone deletion of Instrument > > > until it's no longer marked. I want the `delete` operations to be carried > > > out from a different thread; in that case it ought to be RT safe I > > > reckon. > > > > That's one possible solution (and a decent one, too). Or you could use > > reference counting (but that has its problems - you can't delete > > immediately when refcount=0 because it may happen in audio thread). > > Actually, the 'marks' I talked about are a reference count; the problem I had > turned out to be quite obscure (see revision 370 in TRAC). I'm currently > using > the 'autosave' thread to trigger the cleanup (happens every minute). > > You seem to know C++ better than me; do you have an opinion about the other > thing I mentioned in that mail (title "debugging stuff")? That about the > priority queue comparison function? :-) > > See you > - Jakob. > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Hydrogen-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/hydrogen-devel ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Hydrogen-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/hydrogen-devel
