mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 07:14:56 +01:00
Always optimize zita-resampler, nothing to debug here
This commit is contained in:
parent
ea64e46594
commit
d6e96a688d
2 changed files with 1 additions and 4 deletions
|
|
@ -22,7 +22,6 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <assert.h>
|
|
||||||
|
|
||||||
#include "zita-resampler/vmresampler.h"
|
#include "zita-resampler/vmresampler.h"
|
||||||
|
|
||||||
|
|
@ -166,7 +165,6 @@ VMResampler::process (void)
|
||||||
float a, *p1, *p2;
|
float a, *p1, *p2;
|
||||||
|
|
||||||
if (!_table) return 1;
|
if (!_table) return 1;
|
||||||
assert (inp_data != NULL && out_data != NULL);
|
|
||||||
|
|
||||||
const int hl = _table->_hl;
|
const int hl = _table->_hl;
|
||||||
const unsigned int np = _table->_np;
|
const unsigned int np = _table->_np;
|
||||||
|
|
|
||||||
|
|
@ -48,8 +48,7 @@ def build(bld):
|
||||||
return
|
return
|
||||||
|
|
||||||
obj = bld.stlib(features = 'cxx cxxstlib', source = zresampler_sources)
|
obj = bld.stlib(features = 'cxx cxxstlib', source = zresampler_sources)
|
||||||
obj.cxxflags = [ '-fPIC' ]
|
obj.cxxflags = [ '-fPIC', '-O3', '-ffast-math' ]
|
||||||
obj.cflags = [ '-fPIC' ]
|
|
||||||
obj.export_includes = ['.']
|
obj.export_includes = ['.']
|
||||||
obj.includes = ['.']
|
obj.includes = ['.']
|
||||||
obj.name = 'zita-resampler'
|
obj.name = 'zita-resampler'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue