Re: [linux-audio-dev] DSP resources

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] DSP resources
From: David Olofson (david_AT_gardena.net)
Date: Sun Sep 09 2001 - 22:13:41 EEST


On Sunday 09 September 2001 19:29, Juhana Sadeharju wrote:
> Anyone know how to get overloaded complex number operations to C
> without rewriting everything in pure C++ style. It is possible
> just to switch compiler to g++ for those files which uses the
> complex number operations? Can those object files (functions) then
> be included to a program compiled with C?

It should be possible to compile with g++ - just make sure that you
use "extern "C" { ... }" in the C files, to avoid name mangling and
linking probelms.

//David

.- M A I A -------------------------------------------------.
| Multimedia Application Integration Architecture |
| A Free/Open Source Plugin API for Professional Multimedia |
`----------------------> http://www.linuxaudiodev.com/maia -'
.- David Olofson -------------------------------------------.
| Audio Hacker - Open Source Advocate - Singer - Songwriter |
`--------------------------------------> david_AT_linuxdj.com -'


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Sun Sep 09 2001 - 22:10:11 EEST