[Cs-dev] Loris opcodes now failing
Date | 2005-12-24 15:24 |
From | jpff@codemist.co.uk |
Subject | [Cs-dev] Loris opcodes now failing |
Just updated and get g++ -fexceptions -Wall -O3 -fno-inline-functions -fomit-frame-pointer -ffast-math -DLINUX -DPIPES -DHAVE_FFTW3_H -Wno-comment -Wno-unknown-pragmas -Wno-sign-compare -fPIC -DHAVE_FCNTL_H -DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_TERMIOS_H -DHAVE_DIRENT_H -I. -IH -I/usr/lib/jvm/java-1.5.0/include -I/usr/lib/jvm/java-1.5.0/include/linux -I/usr/local/include -I/usr/include -I/usr/X11R6/include -I/usr/lib/java/include -I/usr/lib/java/include/linux -IOpcodes/Loris -IOpcodes/Loris/src -I. -c -o Opcodes/Loris/lorisgens5.os Opcodes/Loris/lorisgens5.C Opcodes/Loris/lorisgens5.C: In member function `long int LorisMorpher::updateEnvelopes()': Opcodes/Loris/lorisgens5.C:1026: error: `fadeSrcBreakpoint' undeclared (first use this function) Opcodes/Loris/lorisgens5.C:1026: error: (Each undeclared identifier is reported only once for each function it appears in.) Opcodes/Loris/lorisgens5.C:1032: error: `fadeTgtBreakpoint' undeclared (first use this function) Opcodes/Loris/lorisgens5.C:1038: error: `morphBreakpoints' undeclared (first use this function) Opcodes/Loris/lorisgens5.C:1002: warning: unused variable `long int label' scons: *** [Opcodes/Loris/lorisgens5.os] Error 1 scons: building terminated because of errors. What changed? ==John ffitch ------------------------------------------------------- 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://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2005-12-25 09:48 |
From | Matt Ingalls |
Subject | [Cs-dev] fl graphics on mac |
staying up waiting for santa, i've been playing around with an objective-C "Cocoa" host app for csound5 [rc1 framework ] on OSX and it appears the FLTK Graphics mess things up. if i call csoundPerform in a different thread from csoundCreate, the render hangs before any audio is written to disk. if i call csoundPerform from the same thread, the render works but corrupts my menus and hangs the application. csoundSetIsGraphable() true or false does nothing [ fltk graphics still show ] if i add a -g flag everything works fine in ASCII. i'll test with my own graphics callbacks tomorrow.. FLTK opcodes display, but don't update display and cause my app's menus to go away and hang the application too.. everything else seems good so far! Thanks, Matt; ________________________ matt ingalls http://sonomatics.com ------------------------------------------------------- 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://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2005-12-25 11:17 |
From | Istvan Varga |
Subject | Re: [Cs-dev] fl graphics on mac |
Attachments | None |
Date | 2005-12-25 22:30 |
From | Matt Ingalls |
Subject | Re: [Cs-dev] fl graphics on mac + rtaudio |
OK Thanks Istvan: > It is a known limitation of FLTK on OS X that you must run > it in the main thread, and it is not safe to access the GUI > from other threads at the same time. well even in the application thread FLTK takes over my application's menus and other GUI items -- not too useable for me. > To disable the FLTK graph displays, call csoundSetIsGraphable() > with a setting of true between csoundPreCompile() and > csoundCompile(), for example: that worked, thanks [ i wasn't calling precompile ] > CSOUND *csound = csoundCreate(NULL); > if (csoundPreCompile(csound) != 0) > error(); /* fail in some way */ > csoundSetIsGraphable(csound, 1); > /* set your MakeGraph etc. callbacks here if there are any */ > /* ... */ > if (csoundCompile(csound, argc, argv) != 0) > error(); /* fail in some way */ > /* ... */ > > The FLTK plugin will not register callbacks for drawing > graphs if it is already graphable. Note that it will set > a yield callback if any FLTK functionality (graphs or > opcodes) is used, overriding your yield callback function > if there is any. oh that's another point against FLTK -- i use Yield to tell csound to quit in the middle of a render... i seem to get coreaudio working but not portaudio. the internal coreaudio is working fine, except seems to not like multiple renders running simultaneously. i'll probably add my own coreaudio routines in this frontend and add it to the cvs in the next couple of days.. Matt; ________________________ matt ingalls http://sonomatics.com ------------------------------------------------------- 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://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |