Subject: [ecasound] C API for ecasound
From: Kai Vehmanen (k@wakkanet.fi)
Date: Wed Jul 05 2000 - 00:44:02 EEST
I've been playing around with the idea of having a separate C API for
ecasound. So something like the aRts C-API (libartsc.so).
This library (libecasoundc.so) would have a init() call, which would
initialize the ecasound base system (create all the necessary C++ objects,
etc). After that, you could pass commands to the ecasound engine using
normal C function calls. Similarly, you could are more stuff to the
library. The C-API library would access the C++ class, and make their
functionality available for people using the C-API. Here's a few
prototypes:
void eca_init(void);
void eca_send_command(const char* cmd);
void eca_start(void);
void eca_stop(void);
void eca_destroy(void);
[ ... etc ]
... and of course, making Python, Perl, Eiffel, whatever bindings
to this library would be quite easy. I'm not sure how much time I could
spare for this project, but I have a feeling that this would useful.
What do you think?
-- Kai Vehmanen <k@eca.cx> ---------------- CS, University of Turku . . audio software for linux .. http://www.eca.cx . . armchair-tunes mp3/wav/ra . http://www.wakkanet.fi/sculpscape .-- To unsubscribe send message 'unsubscribe' in the body of the message to <ecasound-list-request@wakkanet.fi>.
This archive was generated by hypermail 2b28 : Wed Jul 05 2000 - 00:57:48 EEST