Skip to content

Commit

Permalink
Same fix for Filter_FFT test
Browse files Browse the repository at this point in the history
  • Loading branch information
azonenberg committed Jan 13, 2024
1 parent a9255a9 commit 70a56ae
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/Filters/Filter_FFT.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@
#include "../../lib/scopeprotocols/scopeprotocols.h"
#include "Filters.h"

//TODO: switch to FFTW since test case is OK to be GPL
#ifndef _APPLE_SILICON

using namespace std;

void NormalizeOutputLog(AcceleratorBuffer<float>& outbuf, AcceleratorBuffer<float>& data, size_t nouts, float scale);
Expand Down Expand Up @@ -303,3 +306,5 @@ void HammingWindow(const float* data, size_t len, float* out)
{
CosineSumWindow(data, len, out, 25.0f / 46);
}

#endif

0 comments on commit 70a56ae

Please sign in to comment.