diff options
-rw-r--r-- | externals/grill/flext/build.txt | 12 | ||||
-rw-r--r-- | externals/grill/flext/build/config-lnx.def | 1 | ||||
-rw-r--r-- | externals/grill/flext/build/config-mac.def | 1 | ||||
-rw-r--r-- | externals/grill/flext/flext.vcproj | 4 | ||||
-rw-r--r-- | externals/grill/flext/notes.txt | 4 | ||||
-rw-r--r-- | externals/grill/flext/readme.txt | 4 | ||||
-rw-r--r-- | externals/grill/flext/source/flext.cpp | 3 |
7 files changed, 20 insertions, 9 deletions
diff --git a/externals/grill/flext/build.txt b/externals/grill/flext/build.txt index fdb24bc8..474b0698 100644 --- a/externals/grill/flext/build.txt +++ b/externals/grill/flext/build.txt @@ -8,6 +8,7 @@ WARRANTIES, see the file, "license.txt," in this distribution. This document consists of the following parts: +0) Important stuff at the beginning 1) Using the flext build system 1.1) Building and installing flext 1.2) Building externals @@ -19,6 +20,16 @@ This document consists of the following parts: ---------------------------------------------------------------------------- +0) Important stuff at the beginning +=================================== + +Please be aware that the build system might have difficulties handling paths with spaces. +Under unix you might get along with escaping your\ path or quoting "your path". +Under Windows escaping doesn't work at all and quoting might not work either - therefore it's +best not to use spaced paths at all. + +---------------------------------------------------------------------------- + 1) Using the flext build system =============================== @@ -95,6 +106,7 @@ or - cygwin with binutils, gcc and make packages + 1.2) Building and installing flext ================================== diff --git a/externals/grill/flext/build/config-lnx.def b/externals/grill/flext/build/config-lnx.def index 354c6c3b..5f4a3d89 100644 --- a/externals/grill/flext/build/config-lnx.def +++ b/externals/grill/flext/build/config-lnx.def @@ -7,4 +7,5 @@ SIMD=1 # where is the Sndobjs installation? # (uncomment the line with # to disable SNDOBJ support) +# please be sure to delete an eventual m_pd.h file from the SNDOBJ include folder!! #SNDOBJ=/usr/local/lib/sndobj diff --git a/externals/grill/flext/build/config-mac.def b/externals/grill/flext/build/config-mac.def index 280fff90..2fdee70b 100644 --- a/externals/grill/flext/build/config-mac.def +++ b/externals/grill/flext/build/config-mac.def @@ -7,4 +7,5 @@ SIMD=1 # where is the Sndobjs installation? # (uncomment the line with # to disable SNDOBJ support) +# please be sure to delete an eventual m_pd.h file from the SNDOBJ include folder!! #SNDOBJ=/usr/local/lib/sndobj diff --git a/externals/grill/flext/flext.vcproj b/externals/grill/flext/flext.vcproj index 5b05af23..d85667d0 100644 --- a/externals/grill/flext/flext.vcproj +++ b/externals/grill/flext/flext.vcproj @@ -121,7 +121,7 @@ <Tool Name="VCCLCompilerTool" Optimization="0" - AdditionalIncludeDirectories="c:\programme\audio\pd-0.39-0\src;c:\data\prog\audio\sndobj\include;c:\data\prog\audio\stk\include" + AdditionalIncludeDirectories="c:\programme\audio\pd-0.39-1\src;c:\data\prog\audio\sndobj\include;c:\data\prog\audio\stk\include" PreprocessorDefinitions="WIN32;_DEBUG;_LIB;FLEXT_SYS_PD;FLEXT_THREADS;FLEXT_USE_SIMD;FLEXT_EXPORTS;xFLEXT_ATTRHIDE;xFLEXT_NOATTREDIT;_WIN32_WINNT=0x501" BasicRuntimeChecks="3" RuntimeLibrary="1" @@ -171,7 +171,7 @@ <Tool Name="VCCLCompilerTool" Optimization="0" - AdditionalIncludeDirectories="c:\programme\audio\pd-0.39-0\src;c:\data\prog\audio\sndobj\include;c:\data\prog\audio\stk\include" + AdditionalIncludeDirectories="c:\data\pd\pd-cvs\src;c:\data\prog\audio\sndobj\include;c:\data\prog\audio\stk\include" PreprocessorDefinitions="WIN32;_DEBUG;_LIB;FLEXT_SYS=2;FLEXT_USE_SIMD;FLEXT_EXPORTS;FLEXT_DEBUGMEM;_WIN32_WINNT=0x400" StringPooling="TRUE" BasicRuntimeChecks="3" diff --git a/externals/grill/flext/notes.txt b/externals/grill/flext/notes.txt index e4dcb3cf..93c71227 100644 --- a/externals/grill/flext/notes.txt +++ b/externals/grill/flext/notes.txt @@ -28,10 +28,6 @@ KNOWN BUGS: In these cases one can switch back to the C library memory operators by defining the FLEXT_NOGLOBALNEW macro before
inclusion of the flext.h header file (e.g. as a -D compiler option)
-- MaxMSP Mach-O DSP externals cannot be the first externals loaded (e.g. in Max Runtime)
- there must be a CFM signal external loaded beforehand!!! (Max will crash otherwise)
- -> i think this is fixed in Max in the meantime!
-
- PD: floats into the leftmost inlet of DSP objects can't be used as messages
even if there's no signal inlet at all
diff --git a/externals/grill/flext/readme.txt b/externals/grill/flext/readme.txt index 76717fc1..f821981c 100644 --- a/externals/grill/flext/readme.txt +++ b/externals/grill/flext/readme.txt @@ -19,7 +19,7 @@ modular real-time audio systems Max/MSP and Pure Data (PD) with external modules short externals. These modules provide a way to tailor such a system for one’s special needs and supply additional functionality. -Source code based on flext is able to exploit nearly all features of the +Source code based on flext is able to exploit most common features of the respective real-time framework while staying completely independent of the actual host system and platform (hardware and operating system). @@ -41,7 +41,7 @@ pros: cons: - introduces a small overhead to speed of message and signal handling -- overhead in object size (due to possibly unneeded code) +- larger memory footprint ---------------------------------------------------------------------------- diff --git a/externals/grill/flext/source/flext.cpp b/externals/grill/flext/source/flext.cpp index 6c598500..f332ce65 100644 --- a/externals/grill/flext/source/flext.cpp +++ b/externals/grill/flext/source/flext.cpp @@ -251,11 +251,12 @@ void flext_base::cb_dsp(flext_hdr *c,t_signal **sp) flext_dsp *obj; #ifdef FLEXT_DEBUG - obj = dynamic_cast<flext_dsp *>(bobj); + obj = dynamic_cast<flext_dsp *>(bobj); #else obj = static_cast<flext_dsp *>(bobj); #endif + FLEXT_ASSERT(obj); obj->SetupDsp(sp); } |