Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] setCsoundYieldCallback and FLTK

Date2006-10-26 19:30
FromVictor Lazzarini
SubjectRe: [Cs-dev] setCsoundYieldCallback and FLTK
As for FLTK and Csound5GUI, try setting/unsetting 'run
csound in a separate thread'. This usually fixes things.

>
> 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

Date2006-10-26 19:42
From"Steven Yi"
SubjectRe: [Cs-dev] setCsoundYieldCallback and FLTK
AttachmentsNone