diff --git a/core/src/dsp/channel/frequency_xlator.h b/core/src/dsp/channel/frequency_xlator.h index d37133170..bfb3b94ab 100644 --- a/core/src/dsp/channel/frequency_xlator.h +++ b/core/src/dsp/channel/frequency_xlator.h @@ -41,7 +41,11 @@ namespace dsp::channel { } inline int process(int count, const complex_t* in, complex_t* out) { +#if VOLK_VERSION >= 030100 + volk_32fc_s32fc_x2_rotator2_32fc((lv_32fc_t*)out, (lv_32fc_t*)in, &phaseDelta, &phase, count); +#else volk_32fc_s32fc_x2_rotator_32fc((lv_32fc_t*)out, (lv_32fc_t*)in, phaseDelta, &phase, count); +#endif return count; }