| well MacCsound does use Yield(), but even if FLTK is
overriding that, i don't think that would be the cause
of MacCsound freezing. It's been a while since
last i checked, but i seem to remember the "freeze" was
csoundPreCompile or csoundPerformBuffer never returning
after MacCsound calls it..
On Oct 26, 2006, at 11:29 AM, Victor Lazzarini wrote:
> I don't think this is the cause of the problem
> with menus; I don't use the yield callback on
> the Csound5 app and had problems with menus disappearing,
> but managed to regain control of them.
>
> However, this might be the reason why MacCsound does not
> work with FLTK.
>
> I would suggest that instead of appending callbacks,
> which might cause problems perhaps, if there is indeed
> an issue, we could set a
> dedicated graphics callback that gets set in FLrun.
>
> Victor
>
>>
>> Hi All,
>>
>> I noticed today that there might be an issue with FLTK and
>> the csoundYieldCallback and if so if that might not be a
>> source of issues for hosts (i.e. MacCsound). In
>> InOut/widgets.cpp, if compiled without fltk threading, the
>> fl_run opcode has:
>>
>> csound->SetYieldCallback(csound, CsoundYield_FLTK);
>>
>> This also happens in csoundModuleInit in InOut/winFLTK.c.
>> As there's only one yield callback, I imagine if a host
>> sets one, then csound goes to run, the FLTK yield callback
>> is going to take the place of the host one.
>>
>> Could this be the source of the problem where MacCsound
>> loses it's menus?
>>
>> I also seem to have problems running FLTK GUI's with other
>> hosts (csound5gui, winsound) but each with different
>> problems (the first doesn't show the gui, the second has
>> the GUI showing but winsound becomes inactive).
>>
>> If this is it, what would be a solution? Allowing an
>> array of callbacks and adding or changing the method to
>> appendYieldCallback?
>>
>> steven
>>
>> ----------------------------------------------------------
>> --------------- Using Tomcat but need to do more? Need to
>> support web services, security? Get stuff done quickly
>> with pre-integrated technology to make your job easier
>> Download IBM WebSphere Application Server v.1.0.1 based on
>> Apache Geronimo
>>
> http://sel.as-us.falkag.net/sel?
> cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> ----------------------------------------------------------------------
> ---
> Using Tomcat but need to do more? Need to support web services,
> security?
> Get stuff done quickly with pre-integrated technology to make your
> job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> http://sel.as-us.falkag.net/sel?
> cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |