Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 57b0bac6 authored by Sadaf Ebrahimi's avatar Sadaf Ebrahimi
Browse files

Add new namespace of pffft to make the upgrade work

Test: TreeHugger
Change-Id: Ieb6c876783d37cde4194b4edb9f97fb85347c4f3
parent ed8e3755
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -520,9 +520,10 @@ class EffectHelper {
                << "The input(buffer) size must be greater than or equal to nPointFFT";
        bufferMag.resize(binOffsets.size());
        std::vector<float> fftInput(nPointFFT);
        PFFFT_Setup* inputHandle = pffft_new_setup(nPointFFT, PFFFT_REAL);
        pffft::detail::PFFFT_Setup* inputHandle =
                pffft_new_setup(nPointFFT, pffft::detail::PFFFT_REAL);
        pffft_transform_ordered(inputHandle, buffer.data(), fftInput.data(), nullptr,
                                PFFFT_FORWARD);
                                pffft::detail::PFFFT_FORWARD);
        pffft_destroy_setup(inputHandle);
        for (size_t i = 0; i < binOffsets.size(); i++) {
            size_t k = binOffsets[i];