CICM / HoaLibrary

:warning: [deprecated] High Order Ambisonics library with Max, Pure Data, FAUST, Csound and VST implementations.
http://www.mshparisnord.fr/hoalibrary/en/
64 stars 16 forks source link

PD externals code should check if the PD_BLOBS define is set. #6

Closed rvega closed 10 years ago

rvega commented 10 years ago

Hi. When compiling some of your externals for use with libpd I saw that you use PD's t_blob type. This type is defined in pd-extended's m_pd.h file but not on pd vanilla or on libpd's m_pd.h file. The "kosher" way of using this type for externals code is to check if the PD_BLOBS define is set. To work around this, I included the definition for the type manually in hoa's code after including m_pd.h

pierreguillot commented 10 years ago

Hi, The reason of this choice is that the source codes of PD-0.45 don't work with PD-Extented 0.43 but the source codes of PD-Extented are compatible with PD-0.45. I think the solution is to use the source codes of PD-Vanilla 0.43 and to replace the header files in the ecommon folder of the CicmWrapper (or , perhaps, just remove the t_blob definition - I don't use it). I will try but I have to check if everything is compatible. Thanks,

All the best

pierreguillot commented 10 years ago

Hi, I've updated the Cicm Wrapper. BLOB shouldn't be a problem anymore. Best

rvega commented 10 years ago

Thanks! :)