diff --git a/libs/zita-resampler/vmresampler.cc b/libs/zita-resampler/vmresampler.cc index ae9215ba0d..b7442c7d15 100644 --- a/libs/zita-resampler/vmresampler.cc +++ b/libs/zita-resampler/vmresampler.cc @@ -22,7 +22,6 @@ #include #include #include -#include #include "zita-resampler/vmresampler.h" @@ -166,7 +165,6 @@ VMResampler::process (void) float a, *p1, *p2; if (!_table) return 1; - assert (inp_data != NULL && out_data != NULL); const int hl = _table->_hl; const unsigned int np = _table->_np; diff --git a/libs/zita-resampler/wscript b/libs/zita-resampler/wscript index 83316b1a83..91edc4f9ab 100644 --- a/libs/zita-resampler/wscript +++ b/libs/zita-resampler/wscript @@ -48,8 +48,7 @@ def build(bld): return obj = bld.stlib(features = 'cxx cxxstlib', source = zresampler_sources) - obj.cxxflags = [ '-fPIC' ] - obj.cflags = [ '-fPIC' ] + obj.cxxflags = [ '-fPIC', '-O3', '-ffast-math' ] obj.export_includes = ['.'] obj.includes = ['.'] obj.name = 'zita-resampler'