From cd64b64825a7e679180f21eb1d2400ac46acda85 Mon Sep 17 00:00:00 2001 From: pschatzmann Date: Sun, 17 Nov 2024 07:14:03 +0100 Subject: [PATCH 1/2] FastLED conflicts --- .../streams-audiokit-fft-led/streams-audiokit-fft-led.ino | 1 + .../a2dp/basic-a2dp-fft-led/basic-a2dp-fft-led.ino | 1 + 2 files changed, 2 insertions(+) diff --git a/examples/examples-audiokit/streams-audiokit-fft-led/streams-audiokit-fft-led.ino b/examples/examples-audiokit/streams-audiokit-fft-led/streams-audiokit-fft-led.ino index dd4eed47a..e27ff93c5 100644 --- a/examples/examples-audiokit/streams-audiokit-fft-led/streams-audiokit-fft-led.ino +++ b/examples/examples-audiokit/streams-audiokit-fft-led/streams-audiokit-fft-led.ino @@ -9,6 +9,7 @@ * @copyright Copyright (c) 2022 * */ +#include // to prevent conflicts introduced with 3.9 #include "AudioTools.h" #include "AudioTools/AudioLibs/AudioBoardStream.h" #include "AudioTools/AudioLibs/AudioRealFFT.h" // or AudioKissFFT diff --git a/examples/examples-communication/a2dp/basic-a2dp-fft-led/basic-a2dp-fft-led.ino b/examples/examples-communication/a2dp/basic-a2dp-fft-led/basic-a2dp-fft-led.ino index fe3bbeb53..deefeda56 100644 --- a/examples/examples-communication/a2dp/basic-a2dp-fft-led/basic-a2dp-fft-led.ino +++ b/examples/examples-communication/a2dp/basic-a2dp-fft-led/basic-a2dp-fft-led.ino @@ -6,6 +6,7 @@ * @copyright GPLv3 */ +#include // to prevent conflicts introduced with 3.9 #include "AudioTools.h" #include "AudioTools/AudioLibs/AudioRealFFT.h" // or any other supported inplementation #include "AudioTools/AudioLibs/LEDOutput.h" From 4f2896e92c60e0275ec229d8b4fd3296635df1ca Mon Sep 17 00:00:00 2001 From: pschatzmann Date: Sun, 17 Nov 2024 07:20:26 +0100 Subject: [PATCH 2/2] hide Wdeprecated fft warning --- src/AudioTools/AudioLibs/FFT/FFTReal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AudioTools/AudioLibs/FFT/FFTReal.h b/src/AudioTools/AudioLibs/FFT/FFTReal.h index ab52dd6fa..8080446fe 100644 --- a/src/AudioTools/AudioLibs/FFT/FFTReal.h +++ b/src/AudioTools/AudioLibs/FFT/FFTReal.h @@ -12,7 +12,7 @@ To Public License, Version 2, as published by Sam Hocevar. See http://sam.zoy.org/wtfpl/COPYING for more details. *Tab=3***********************************************************************/ - +#pragma GCC diagnostic ignored "-Wdeprecated-enum-enum-conversion" #if ! defined (ffft_FFTReal_HEADER_INCLUDED)