On Sunday 01 June 2003 12:37 pm, Pedro Lopez-Cabanillas wrote: > (gdb) run > ERROR: KUniqueApplication: DCOP communication error! > How to debug rosegarden (GUI) executable?
You've got to start it with the "--nofork" option. i.e. r --nofork > Filter. The MappedEvent copy constructor is used in > SequenceManager::applyFiltering (gui/sequencermanager.cpp:1868). The > filtering is done iterating an input MappedComposition, and for each > event matching the filter, insert a copy of that event in another > MappedComposition. Instead a copy, could we insert the same > MappedEvent reference? Yes, potentially. A lot of this kind of code (me waving again!) is simply taking the safest rather than necessarily the most efficient code - I say safest because the MappedEvents come through DCOP and I was never entirely sure where they go out of scope as a result. But this kind of general tweaking would improve throughput performance (which is where we're seeing problems now people are starting to flex the MIDI). As you go on to say.. > MIDI Thru. SequenceManager::processAsynchronousMidi > (gui/sequencemanager.cpp:1219) is invoked from the sequencer engine > to perform the MIDI Thru function, even when it's not recording. This > implies a continuous data flow between the sequencer and the GUI. Do > you agree that the MIDI Thru function should be done at sequencer > level by itself? To be able to do this, the sequencer only needs to > know the current filter and selected instrument. The reason why it's done as it is at the moment is so that the gui can see what events are being THRU'd so we can display them. For efficiency it'd make much more sense to more this functionality to the sequencer - we'd still need to forward events to the gui to show what's actually being THRU'd but that'd take the load off the gui into the place where it should be processed. As we start to grow the Studio part of Rosegarden (and I think you'd be a very good person to talk this through with) we should start to see more of this functionality finding it's way downstairs to the sequencer. It's nice to hear you're casting an eye over all this code though - BTW do you want CVS access? > Chat. I tried to /join the #rosegarden channel in irc.freenode.net > several times, but the channel was empty every time. What days and at > what time are you there? Erm, never really unless we've kind of arranged it through email. Drop us a line and I can go on to it usually any time during the week and usually sometimes at weekends. R ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Rosegarden-devel mailing list [EMAIL PROTECTED] - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-devel
