I'm going to give it a try this week. Hopefully by the end of this week I can let you know how it went.
Josh -----Original Message----- From: David A Kondrad [mailto:[EMAIL PROTECTED] Sent: Monday, January 28, 2008 7:15 AM To: [EMAIL PROTECTED] Cc: [email protected] Subject: RE: C++ Apps and Codec Engine Hello, The standard rules should apply when using a C module in C++. One thing I wouldn't count on is having extern "C" wrappers inside the TI headers... it's probably safer to do something like: // C++ includes here.... // C-linkage includes here #ifdef __cplusplus extern "C" { #endif // TI codec engine includes + any codec header files #ifdef __cplusplus } #endif As you said, you're not compiling the codecs in C++ so there shouldn't be a problem as long as you tell the compiler to look for C style linkage not C++ linkage. Give it a shot and don't be afraid to experiment... oh and report back the results so others can benefit. DAVID A. KONDRAD Software Design Engineer On-Q/Legrand www.onqlegrand.com _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
