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

Commit d2059c1b authored by Sadaf Ebrahimi's avatar Sadaf Ebrahimi Committed by Automerger Merge Worker
Browse files

Merge "Add new namespace of pffft to make the upgrade work" into main am: a21c8ec7

parents 6d2d6a61 a21c8ec7
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];