Commit 6530cce9 authored by jehan's avatar jehan
Browse files

fix for android build in msresampler

parent 77199170
......@@ -134,7 +134,7 @@ static void resample_process_ms2(MSFilter *obj){
int quality=SPEEX_RESAMPLER_QUALITY_VOIP; /*default value is voip*/
#if __arm__ /*on ARM, NEON optimization are mandatory to support this quality, else using basic mode*/
#if SPEEX_LIB_SET_CPU_FEATURES
if (data->cpuFeatures != SPEEX_LIB_CPU_FEATURE_NEON)
if (dt->cpuFeatures != SPEEX_LIB_CPU_FEATURE_NEON)
quality=SPEEX_RESAMPLER_QUALITY_MIN;
#elif !__ARM_NEON__
quality=SPEEX_RESAMPLER_QUALITY_MIN;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment