13
0

Always optimize zita-resampler, nothing to debug here

This commit is contained in:
Robin Gareus 2017-10-30 16:28:24 +01:00
parent ea64e46594
commit d6e96a688d
2 changed files with 1 additions and 4 deletions

View File

@ -22,7 +22,6 @@
#include <stdio.h>
#include <string.h>
#include <math.h>
#include <assert.h>
#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;

View File

@ -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'