diff --git a/examples/build-examples-log.txt b/examples/build-examples-log.txt index 51e8dabfe..6ef3d5ce3 100644 --- a/examples/build-examples-log.txt +++ b/examples/build-examples-log.txt @@ -20,6 +20,7 @@ ../examples/examples-stream/streams-generator-i2s -> rc=0 ../examples/examples-stream/streams-generator-merge-pwm -> rc=0 ../examples/examples-stream/streams-generator-pwm -> rc=0 +../examples/examples-stream/streams-generator-r2r -> rc=0 ../examples/examples-stream/streams-generator-serial -> rc=0 ../examples/examples-stream/streams-generator-spdif -> rc=0 ../examples/examples-stream/streams-generator-timedstream-serial -> rc=0 @@ -81,8 +82,8 @@ ../examples/examples-audiokit/streams-synthstk-audiokit -> rc=0 ../examples/examples-audiokit/streams-tf-audiokit -> rc=0 ../examples/examples-tts/streams-azure_tts-i2s -> rc=0 -../examples/examples-tts/streams-espeak-audiokit -> rc=1 -../examples/examples-tts/streams-espeak-i2s -> rc=1 +../examples/examples-tts/streams-espeak-audiokit -> rc=0 +../examples/examples-tts/streams-espeak-i2s -> rc=0 ../examples/examples-tts/streams-flite-audiokit -> rc=1 ../examples/examples-tts/streams-flite-i2s -> rc=1 ../examples/examples-tts/streams-google-audiokit -> rc=0 @@ -191,7 +192,7 @@ ../examples/examples-communication/http-client/player-url_icy-audiokit -> rc=0 ../examples/examples-communication/http-client/player-url_icy-i2s -> rc=0 ../examples/examples-communication/http-client/player-url_subclass-i2s -> rc=0 -../examples/examples-communication/http-client/streams-eth_url_mp3_helix-i2s -> rc=1 +../examples/examples-communication/http-client/streams-eth_url_mp3_helix-i2s -> rc=0 ../examples/examples-communication/http-client/streams-http_post -> rc=0 ../examples/examples-communication/http-client/streams-url_aac-audiokit -> rc=0 ../examples/examples-communication/http-client/streams-url_aac-i2s -> rc=0 @@ -232,8 +233,11 @@ ../examples/tests/adc/read-speed -> rc=0 ../examples/tests/basic/24bits-write -> rc=0 ../examples/tests/basic/test-allocator -> rc=0 +../examples/tests/basic/test-buffer -> rc=0 +../examples/tests/basic/test-queue -> rc=0 ../examples/tests/basic/test-vector -> rc=0 ../examples/tests/codecs/test-codec-aac-fdk -> rc=0 +../examples/tests/codecs/test-codec-aac-fdk-dec -> rc=0 ../examples/tests/codecs/test-codec-adpcm -> rc=0 ../examples/tests/codecs/test-codec-adpcm-xq -> rc=0 ../examples/tests/codecs/test-codec-aptx -> rc=0 @@ -253,6 +257,7 @@ ../examples/tests/codecs/test-codec-opus -> rc=0 ../examples/tests/codecs/test-codec-opusogg -> rc=0 ../examples/tests/codecs/test-codec-sbc -> rc=0 +../examples/tests/codecs/test-codec-wav-adpcm -> rc=0 ../examples/tests/codecs/test-compile-all -> rc=0 ../examples/tests/codecs/test-container-binary -> rc=0 ../examples/tests/codecs/test-container-binary-meta -> rc=0 @@ -263,10 +268,12 @@ ../examples/tests/codecs/test-mp3-mad -> rc=0 ../examples/tests/codecs/test-streaming-adapter -> rc=0 ../examples/tests/communications/* -> rc=1 +../examples/tests/concurrency/audio-test -> rc=0 +../examples/tests/concurrency/BufferRTOS -> rc=0 ../examples/tests/concurrency/NBuffer -> rc=0 -../examples/tests/concurrency/synchBufferRTOS -> rc=0 ../examples/tests/concurrency/synchNBuffer -> rc=0 ../examples/tests/concurrency/synchRingBuffer -> rc=0 +../examples/tests/concurrency/SynchronizedNBuffer -> rc=0 ../examples/tests/conversion/channel-converter-avg -> rc=0 ../examples/tests/conversion/channel-converter-bin -> rc=0 ../examples/tests/conversion/channel-converter-bindiff -> rc=0 diff --git a/examples/build-examples.sh b/examples/build-examples.sh index e6994c4dc..fb7be621a 100755 --- a/examples/build-examples.sh +++ b/examples/build-examples.sh @@ -19,7 +19,7 @@ function compile_example { echo "Processing $f ..." # take action on each file. $f store current file name #arduino-cli compile -b "$ARCH" "$f" - arduino-cli compile -b "$ARCH" --build-property "build.partitions=huge_app" --build-property "upload.maximum_size=3145728" "$f" + arduino-cli compile -b "$ARCH" --build-property "build.partitions=rainmaker" --build-property "upload.maximum_size=3145728" "$f" EC=$? #if [ $EC -ne 0 ]; then #break diff --git a/src/AudioLibs/AudioEspressifFFT.h b/src/AudioLibs/AudioEspressifFFT.h index f80f00b0a..bd4dd80bd 100644 --- a/src/AudioLibs/AudioEspressifFFT.h +++ b/src/AudioLibs/AudioEspressifFFT.h @@ -45,11 +45,13 @@ class FFTDriverEspressifFFT : public FFTDriver { void setValue(int idx, float value) override { if (idx=len) return false; bin.real = p_data[pos*2]; diff --git a/src/AudioLibs/AudioFFT.h b/src/AudioLibs/AudioFFT.h index e022e9a85..c342f3d1e 100644 --- a/src/AudioLibs/AudioFFT.h +++ b/src/AudioLibs/AudioFFT.h @@ -62,6 +62,8 @@ struct FFTBin { float real; float img; + FFTBin() = default; + FFTBin(float r, float i) { real = r; img = i; diff --git a/src/AudioLibs/AudioKissFFT.h b/src/AudioLibs/AudioKissFFT.h index 4886bb87e..e4cfa0112 100644 --- a/src/AudioLibs/AudioKissFFT.h +++ b/src/AudioLibs/AudioKissFFT.h @@ -64,7 +64,9 @@ class FFTDriverKissFFT : public FFTDriver { bool isReverseFFT() override {return true;} - float getValue(int idx) override { return p_data[idx].r }; + float getValue(int idx) override { return p_data[idx].r; } + + bool setBin(int pos, FFTBin &bin) { return FFTDriver::setBin(pos, bin);} bool setBin(int pos, float real, float img) override { if (pos>=len) return false; @@ -74,7 +76,7 @@ class FFTDriverKissFFT : public FFTDriver { } bool getBin(int pos, FFTBin &bin) override { if (pos>=len) return false; - bin.real = p_data[idx].r; + bin.real = p_data[pos].r; bin.img = p_data[idx].i; return true; }