Am 20.05.2011 um 17:11 schrieb Dan Stenning:

> 
> 
> Actually on the matter of ThreadMBS,  do the static methods 
> PatchRuntimeObjectLocking() etc  workfor code in pre-emptive threads like the 
> CoreAudio one ? (  via the PortAudio  callback )  

Sure. The problem is that those patch methods are not working with RS 2011r1 
and Real Software asked me to not patch the framework.

> I am in the process of reworking my code to be able to run vis the callback 
> but still get crashes.  Im trying to remove situationscausing locking etc and 
> its going quite well. 
> one big problem i seem to get is when im receiving MIDI events via 
> MIDIPortMBS.

In general it would be better if I add some code to the plugin to do the work 
in the plugin and not use Real Studio code.
For example I could write a MidiPortMBS subclass which does some Midi 
forwarding itself and calls the event in the safe way so you know what passed 
through.

Greetings
Christian

-- 
See you in Essen, Germany at the REAL Studio Conference 2011

Registration and details here:
http://www.realsoftware.de/events/realcon2011essen/


_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to