On Wed, Jan 13, 2010 at 4:47 PM, Julie S <[email protected]> wrote:
> I've been working on pooling the ALSA system exclusive messages while 
> recording.  To properly manage these I had created a map so I could track 
> incomplete messages.  Here is what I used in the AlsaDriver.h file (these are 
> private members):
>
>> typedef std::map<unsigned int,
>>                  std::pair<MappedEvent *, std::string> > DeviceEventMap;
>
>> DeviceEventMap              *m_pendSysExcMap;
>
> I tried very hard to not use the DeviceEventMap *. I wanted to use the stack 
> (just DeviceEventMap without the *).  I could get my code to compile without 
> warning (other than the existing ones in the codebase) creating on the stack 
> but the RG would bomb just about without fail in different places during the 
> initial startup.
>
> I even reverted all of my changes added, those two lines to the .h file along 
> with a #include "MappedEvent.h" and got the same result.  I wasn't even using 
> m_pendSysExcMap in the .cpp file.

Hm, I can't see any reason why this (particularly the very minimal
version just described) should fail.

Can you perhaps send a diff against the latest svn of the most minimal
set of changes you can come up with that don't work for reasons that
don't make any sense to you?


Chris

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to