From ac3f644c594898d726ce1bac3ee1ccddc9c93331 Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Thu, 24 Sep 2015 21:44:04 +0200 Subject: [PATCH] [DEV] update next lutin version --- lutin_speex-dsp.py | 44 ++++++++++++++++++------------------ lutin_speex-test-denoise.py | 10 ++++---- lutin_speex-test-echo.py | 10 ++++---- lutin_speex-test-jitter.py | 10 ++++---- lutin_speex-test-resample.py | 10 ++++---- 5 files changed, 42 insertions(+), 42 deletions(-) diff --git a/lutin_speex-dsp.py b/lutin_speex-dsp.py index 4ceb864..619d882 100644 --- a/lutin_speex-dsp.py +++ b/lutin_speex-dsp.py @@ -7,9 +7,9 @@ def get_desc(): def create(target): - myModule = module.Module(__file__, 'speex-dsp', 'LIBRARY') + my_module = module.Module(__file__, 'speex-dsp', 'LIBRARY') # add the file to compile: - myModule.add_src_file([ + my_module.add_src_file([ 'speex-dsp/libspeexdsp/filterbank.c', 'speex-dsp/libspeexdsp/resample.c', 'speex-dsp/libspeexdsp/scal.c', @@ -23,7 +23,7 @@ def create(target): 'speex-dsp/libspeexdsp/kiss_fftr.c' ]) """ - myModule.add_header_file([ + my_module.add_header_file([ 'speex-dsp/include/speex/filterbank.h', 'speex-dsp/include/speex/resample.h', 'speex-dsp/include/speex/scal.h', @@ -38,43 +38,43 @@ def create(target): ]) """ # name of the dependency - myModule.add_module_depend('z') - myModule.compile_version_CC(1999) - myModule.add_export_path(tools.get_current_path(__file__) + "/speex-dsp/include") + my_module.add_module_depend('z') + my_module.compile_version_CC(1999) + my_module.add_export_path(tools.get_current_path(__file__) + "/speex-dsp/include") # configure library: # Make use of ARM4 assembly optimizations - #myModule.compile_flags('c', "-DARM4_ASM=1") + #my_module.compile_flags('c', "-DARM4_ASM=1") # Make use of ARM5E assembly optimizations - #myModule.compile_flags('c', "-DARM5E_ASM=1") + #my_module.compile_flags('c', "-DARM5E_ASM=1") # Make use of Blackfin assembly optimizations - #myModule.compile_flags('c', "-DBFIN_ASM=1") + #my_module.compile_flags('c', "-DBFIN_ASM=1") # Disable all parts of the API that are using floats - #myModule.compile_flags('c', "-DDISABLE_FLOAT_API=1") + #my_module.compile_flags('c', "-DDISABLE_FLOAT_API=1") # Enable valgrind extra checks - #myModule.compile_flags('c', "-DENABLE_VALGRIND=1") + #my_module.compile_flags('c', "-DENABLE_VALGRIND=1") # Symbol visibility prefix */ #define EXPORT __attribute__((visibility("default"))) - myModule.compile_flags('c', "-DEXPORT=''") + my_module.compile_flags('c', "-DEXPORT=''") # Debug fixed-point implementation */ - #myModule.compile_flags('c', "-DFIXED_DEBUG=1") + #my_module.compile_flags('c', "-DFIXED_DEBUG=1") # Compile as fixed-point / floating-point if True: - myModule.compile_flags('c', "-DFIXED_POINT") + my_module.compile_flags('c', "-DFIXED_POINT") else: - myModule.compile_flags('c', "-DFLOATING_POINT") + my_module.compile_flags('c', "-DFLOATING_POINT") # Enable NEON support */ - #myModule.compile_flags('c', "-D_USE_NEON=1") + #my_module.compile_flags('c', "-D_USE_NEON=1") # Enable SSE support */ - myModule.compile_flags('c', "-D_USE_SSE=1") + my_module.compile_flags('c', "-D_USE_SSE=1") # Enable SSE2 support */ - myModule.compile_flags('c', "-D_USE_SSE2=1") + my_module.compile_flags('c', "-D_USE_SSE2=1") # Define to 1 if you have the header file. - myModule.compile_flags('c', "-DHAVE_ALLOCA_H=1") + my_module.compile_flags('c', "-DHAVE_ALLOCA_H=1") # Use FFT from OggVorbis */ - myModule.compile_flags('c', "-DUSE_SMALLFT=1") + my_module.compile_flags('c', "-DUSE_SMALLFT=1") # Use C99 variable-size arrays */ - myModule.compile_flags('c', "-DVAR_ARRAYS=1") + my_module.compile_flags('c', "-DVAR_ARRAYS=1") - return myModule + return my_module diff --git a/lutin_speex-test-denoise.py b/lutin_speex-test-denoise.py index 2757d0d..1942cac 100644 --- a/lutin_speex-test-denoise.py +++ b/lutin_speex-test-denoise.py @@ -7,15 +7,15 @@ def get_desc(): def create(target): - myModule = module.Module(__file__, 'speex-test-denoise', 'BINARY') + my_module = module.Module(__file__, 'speex-test-denoise', 'BINARY') # add extra compilation flags : - myModule.add_extra_compile_flags() + my_module.add_extra_compile_flags() # add the file to compile: - myModule.add_src_file([ + my_module.add_src_file([ 'speex-dsp/libspeexdsp/testdenoise.c' ]) # name of the dependency - myModule.add_module_depend('speex-dsp') - return myModule + my_module.add_module_depend('speex-dsp') + return my_module diff --git a/lutin_speex-test-echo.py b/lutin_speex-test-echo.py index 467eebb..fb97849 100644 --- a/lutin_speex-test-echo.py +++ b/lutin_speex-test-echo.py @@ -7,15 +7,15 @@ def get_desc(): def create(target): - myModule = module.Module(__file__, 'speex-test-echo', 'BINARY') + my_module = module.Module(__file__, 'speex-test-echo', 'BINARY') # add extra compilation flags : - myModule.add_extra_compile_flags() + my_module.add_extra_compile_flags() # add the file to compile: - myModule.add_src_file([ + my_module.add_src_file([ 'speex-dsp/libspeexdsp/testecho.c' ]) # name of the dependency - myModule.add_module_depend('speex-dsp') - return myModule + my_module.add_module_depend('speex-dsp') + return my_module diff --git a/lutin_speex-test-jitter.py b/lutin_speex-test-jitter.py index 8ab7036..b578c0c 100644 --- a/lutin_speex-test-jitter.py +++ b/lutin_speex-test-jitter.py @@ -7,15 +7,15 @@ def get_desc(): def create(target): - myModule = module.Module(__file__, 'speex-test-jitter', 'BINARY') + my_module = module.Module(__file__, 'speex-test-jitter', 'BINARY') # add extra compilation flags : - myModule.add_extra_compile_flags() + my_module.add_extra_compile_flags() # add the file to compile: - myModule.add_src_file([ + my_module.add_src_file([ 'speex-dsp/libspeexdsp/testjitter.c' ]) # name of the dependency - myModule.add_module_depend('speex-dsp') - return myModule + my_module.add_module_depend('speex-dsp') + return my_module diff --git a/lutin_speex-test-resample.py b/lutin_speex-test-resample.py index e7527ea..40042bc 100644 --- a/lutin_speex-test-resample.py +++ b/lutin_speex-test-resample.py @@ -7,15 +7,15 @@ def get_desc(): def create(target): - myModule = module.Module(__file__, 'speex-test-resample', 'BINARY') + my_module = module.Module(__file__, 'speex-test-resample', 'BINARY') # add extra compilation flags : - myModule.add_extra_compile_flags() + my_module.add_extra_compile_flags() # add the file to compile: - myModule.add_src_file([ + my_module.add_src_file([ 'speex-dsp/libspeexdsp/testresample.c' ]) # name of the dependency - myModule.add_module_depend('speex-dsp') - return myModule + my_module.add_module_depend('speex-dsp') + return my_module