[CSOUND-DEV:3720] Re: POLLing in Csound5
Date | 2003-12-08 16:09 |
From | "gogins@pipeline.com" |
Subject | [CSOUND-DEV:3720] Re: POLLing in Csound5 |
To exit from the process, that would be fine. But I think John meant, exit from rendering without exiting the process, as in CsoundVST or wxCsound which call directly into the Csound API for repeated renderings. Original Message: ----------------- From: Gabriel Maldonado g.maldonado@inwind.it Date: Mon, 08 Dec 2003 15:24:48 +0100 To: csound-dev@eartha.mills.edu Subject: [CSOUND-DEV:3717] Re: POLLing in Csound5 What about a simple exit() call, called in the main thread after an eventual cleanup? It seems to have no drawbacks, at least under winzoz. Gabriel John ffitch wrote: > For Linux, Unix and OSX there is no need. My only concern was that an > opcode may like to have an early exit if for exampel a stop button was > pressed. Or is there some other API stuff about that? > ==John > > -- Gabriel Maldonado http://csounds.com/maldonado -- -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.com/ . |
Date | 2003-12-08 16:19 |
From | ramsdell@mitre.org (John D. Ramsdell) |
Subject | [CSOUND-DEV:3721] Re: POLLing in Csound5 |
"gogins@pipeline.com" |
Date | 2003-12-08 17:17 |
From | ramsdell@mitre.org (John D. Ramsdell) |
Subject | [CSOUND-DEV:3722] Re: POLLing in Csound5 |
ramsdell@mitre.org (John D. Ramsdell) writes: > wxCsound uses polling to gracefully abort a rendering. To be a little more precise, wxCsound registers a polling function using the Csound API function csoundSetYieldCallback. It never mentions POLL_EVENTS. This is why I compile libcsound with -DUSE_CSOUND_YIELD, so I know that polling API works on all platforms. John |
Date | 2003-12-08 20:29 |
From | ramsdell@mitre.org (John D. Ramsdell) |
Subject | [CSOUND-DEV:3724] Re: csound4 - configure.ac, main.c |
So is it now building for you once again? John steven |
Date | 2003-12-08 20:39 |
From | steven |
Subject | [CSOUND-DEV:3723] csound4 - configure.ac, main.c |
Hi all, I changed the setting on configure.ac to binary so that it will maintain it's unix endlines. Also, I've changed main.c to #ifdef for SIGALRM as mentioned in a previous email. Thanks, steven |
Date | 2003-12-08 21:10 |
From | steven |
Subject | [CSOUND-DEV:3726] Re: csound4 - configure.ac, main.c |
Almost. But it's an unrelated error: libcsound.a(winFLTK.o)(.text+0x11): In function `Graphable_': /cygdrive/f/eclipse/workspace/csound4/csound/winFLTK.c:44: undefined reference t o `_XOpenDisplay' Don't know much about this one. I'm going to disable graphics and fltk and give it another whirl in a second. steven John D. Ramsdell wrote: >So is it now building for you once again? > >John > >steven |
Date | 2003-12-08 22:39 |
From | ramsdell@mitre.org (John D. Ramsdell) |
Subject | [CSOUND-DEV:3729] Re: csound4 - configure.ac, main.c |
steven |
Date | 2003-12-08 23:53 |
From | steven |
Subject | [CSOUND-DEV:3730] Re: csound4 - configure.ac, main.c |
Yeah, I was a bit stumped on the Cygwin CVS issue and I'm really glad it was a simple solution in the end. I'm glad that the configure script is working as it's the only way I've personally ever gotten csound compiled on windows which helps me a lot. I've also set configure.in in Csound5 to binary as the same issue occurs with that. So I got sucked into looking at winFLTK and editing Graphable_ to return 1 as well and it just dies. Strangely enough, putting printf's even at the beginning of main in ccsound.c doesn't print. So... no clue here on that yet. steven John D. Ramsdell wrote: >steven |