Subject: ECI standalone in action
From: Kai Vehmanen (kai.vehmanen_AT_wakkanet.fi)
Date: Sat Oct 05 2002 - 02:47:03 EEST
I've implemented a C-version of edi-28 up to the point where I can run
most ECI C apps without any major problems. I'm currently putting
this to the CVS-tree. It will replace the current C implementation.
The best thing about this is:
# ecalength linked to the current C ECI
[kaiv_AT_hed040-169 ecasound-cvs]$ ldd ecatools/.libs/ecalength
libecasoundc2.so.2 => /home/kaiv/apps/ecasound-cvs/lib/libecasoundc2.so.2 (0x40018000)
libecasound8.so.8 => /home/kaiv/apps/ecasound-cvs/lib/libecasound8.so.8 (0x40026000)
libkvutils3.so.3 => /home/kaiv/apps/ecasound-cvs/lib/libkvutils3.so.3 (0x40372000)
libdl.so.2 => /lib/libdl.so.2 (0x403b0000)
libpthread.so.0 => /lib/i686/libpthread.so.0 (0x403b4000)
libstdc++-libc6.2-2.so.3 => /usr/lib/libstdc++-libc6.2-2.so.3 (0x403c9000)
libm.so.6 => /lib/i686/libm.so.6 (0x4040c000)
libc.so.6 => /lib/i686/libc.so.6 (0x40430000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
# ecalength linked to my new SA ECI impl
[kaiv_AT_hed040-169 ecasound-cvs]$ ldd libecasoundc/ecalength
libc.so.6 => /lib/i686/libc.so.6 (0x4002e000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
Ie. ecalength uses the ECI API just like before, but now
only needs to two libraries instead of nine!
The implementation is not entirely pretty [1], but it does work. :)
[1] From all the languages I could have used, C is probably
the most inconvenient language for implementing this kind
of functionality (woohoo, I once again rewrote code for
handling strings and linked lists), but as libc is in C,
I don't really have a choice. On the bright side, all
other SA-implementations of ECI will probably be
easier to write. :)
-- http://www.eca.cx Audio software for Linux!
This archive was generated by hypermail 2b28 : Sat Oct 05 2002 - 02:45:46 EEST