On Monday 30 January 2006 22:40, Pedro Lopez-Cabanillas wrote: > On Monday 30 January 2006 21:56, Pedro Lopez-Cabanillas wrote: > > I guess that there should be an explicit > > call to registerDataBlockForEvent somewere before setDataBlockForEvent() > > in AlsaDriver.cpp:2470, right? > > No. First, registerDataBlockForEvent() is protected, and second: it sets > the data block itself.
registerDataBlockForEvent() is called at the construction of a MappedEvent if the event's type is a sysex (see MappedEvent.cpp:115). If I recall correctly, the idea was to store the sysex events' payload into those DataBlocks, because the mmap-based code needs fixed-size events. -- Guillaume. http://www.telegraph-road.org ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Rosegarden-devel mailing list [email protected] - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-devel
