Always use internal, modified, zita-resampler
zita-resampler was modified from the original: * a dedicated mono variable-resampler version was added * full-cycle no-resampling was optimized into a delayline
This commit is contained in:
parent
78a3683233
commit
2a9af2d2f6
@ -37,16 +37,10 @@ def options(opt):
|
|||||||
autowaf.set_options(opt)
|
autowaf.set_options(opt)
|
||||||
|
|
||||||
def configure(conf):
|
def configure(conf):
|
||||||
if conf.is_defined('USE_EXTERNAL_LIBS'):
|
|
||||||
autowaf.check_pkg(conf, 'zita-resampler', uselib_store='LIBZRESAMPLER', atleast_version=ZRESAMPLER_LIB_VERSION, mandatory=True)
|
|
||||||
else:
|
|
||||||
conf.load ('compiler_cxx')
|
conf.load ('compiler_cxx')
|
||||||
autowaf.configure(conf)
|
autowaf.configure(conf)
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
if bld.is_defined('USE_EXTERNAL_LIBS'):
|
|
||||||
return
|
|
||||||
|
|
||||||
obj = bld.stlib(features = 'cxx cxxstlib', source = zresampler_sources)
|
obj = bld.stlib(features = 'cxx cxxstlib', source = zresampler_sources)
|
||||||
obj.cxxflags = [ '-fPIC', '-O3', '-ffast-math' ]
|
obj.cxxflags = [ '-fPIC', '-O3', '-ffast-math' ]
|
||||||
obj.export_includes = ['.']
|
obj.export_includes = ['.']
|
||||||
@ -59,4 +53,3 @@ def build(bld):
|
|||||||
|
|
||||||
def shutdown():
|
def shutdown():
|
||||||
autowaf.shutdown()
|
autowaf.shutdown()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user