Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] Java Wrapper Now Working

Date2005-12-07 14:52
FromMichael Gogins
SubjectRe: [Cs-dev] Java Wrapper Now Working
Thanks for these changes.

About the callbacks, I wonder if some C++ template metaprogramming might not give us a way to code up a bunch of generic callback functors, e.g., a Python-wrapped C++ class with a C callback, such that the class can be subclassed in Python to handle the callback.

Regards,
Mike

-----Original Message-----
From: Istvan Varga 
Sent: Dec 7, 2005 3:09 AM
To: csound-devel@lists.sourceforge.net
Subject: Re: [Cs-dev] Java Wrapper Now Working

On Wednesday 07 December 2005 04:18, Steven Yi wrote:

> Not sure exactly what changed but looked like Istvan did some work on
> these and I'm happy to say that for the first time I have csnd.jar
> working on my computer. =)  I tried Victor's CSDPlayer.jar and that is
> now working well.

Actually, the problem with having to run scons twice to build csnd.jar
is still there. What may be an improvement is the addition of
-fno-strict-aliasing to the compiler flags for the *_wrap.cc files;
if previously you always got a segmentation fault when trying to use
classes from csnd, that may be the case.
Also, I added a few (rather ugly) glue functions for polling messages
(eliminating the need for a message callback that is not possible in
Python, Java, etc.), creating argc/argv lists, pointers to MYFLT arrays
(for use with csoundGetChannelPtr() and other functions), and using
opcode and channel lists. This area probably still needs to be improved.


-------------------------------------------------------
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
https://lists.sourceforge.net/lists/listinfo/csound-devel





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