Skip to content

Commit 60ca4e0

Browse files
committed
examples: compile errors
1 parent 4dd4a35 commit 60ca4e0

File tree

6 files changed

+19
-6
lines changed

6 files changed

+19
-6
lines changed

examples/build-examples-log.txt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
../examples/examples-player/player-sd_m4a-audiokit -> rc=0
1616
../examples/examples-player/player-sdmmc-audiokit -> rc=0
1717
../examples/examples-player/player-spiffs-i2s -> rc=0
18+
../examples/examples-player/player-vector_sdfat-audiokit -> rc=0
1819
../examples/examples-stream/streams-adc-i2s -> rc=0
1920
../examples/examples-stream/streams-adc-serial -> rc=0
2021
../examples/examples-stream/streams-adsr-i2s -> rc=0
@@ -125,8 +126,8 @@
125126
../examples/examples-dsp/examples-mozzi/control_gain -> rc=0
126127
../examples/examples-dsp/examples-mozzi/control_gain-a2dp -> rc=0
127128
../examples/examples-dsp/examples-pd/README.md -> rc=1
128-
../examples/examples-dsp/examples-pd/streams-generator-pd-audiokit -> rc=1
129-
../examples/examples-dsp/examples-pd/streams-pd-audiokit -> rc=1
129+
../examples/examples-dsp/examples-pd/streams-generator-pd-audiokit -> rc=0
130+
../examples/examples-dsp/examples-pd/streams-pd-audiokit -> rc=0
130131
../examples/examples-dsp/examples-stk/README.md -> rc=1
131132
../examples/examples-dsp/examples-stk/streams-stk_allinstruments-audiokit -> rc=0
132133
../examples/examples-dsp/examples-stk/streams-stk-audiokit -> rc=0
@@ -243,6 +244,7 @@
243244
../examples/tests/basic/24bits-write -> rc=0
244245
../examples/tests/basic/test-allocator -> rc=0
245246
../examples/tests/basic/test-buffer -> rc=0
247+
../examples/tests/basic/test-buffered-stream -> rc=0
246248
../examples/tests/basic/test-queue -> rc=0
247249
../examples/tests/basic/test-vector -> rc=0
248250
../examples/tests/codecs/test-codec-aac-fdk -> rc=0
@@ -339,10 +341,12 @@
339341
../examples/tests/performance/sine -> rc=0
340342
../examples/tests/performance/throttle -> rc=0
341343
../examples/tests/performance/wifi -> rc=0
344+
../examples/tests/player/test-array-source -> rc=0
342345
../examples/tests/player/test-index-sd -> rc=0
343346
../examples/tests/player/test-index-sdfat -> rc=0
344347
../examples/tests/player/test-index-sdmmc -> rc=0
345348
../examples/tests/player/test-player -> rc=0
349+
../examples/tests/player/test-vector-source -> rc=0
346350
../examples/tests/player/test-vfs -> rc=0
347351
../examples/tests/timer/test-timer -> rc=0
348352
../examples/tests/timer/test-timercb_rx -> rc=0

examples/tests/basic/test-queue/test-queue.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#include "AudioTools.h"
2-
#include "AudioTools/Concurrency/QueueLockFree.h"
2+
#include "AudioTools/Concurrency/LockFree/QueueLockFree.h"
33
#include "AudioTools/Concurrency/RTOS/QueueRTOS.h"
44

55
// test different queue implementations:

examples/tests/codecs/test-streaming-adapter/test-streaming-adapter.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
URLStream url("ssid","password"); // or replace with ICYStream to get metadata
66
AudioBoardStream i2s(AudioKitEs8388V1); // final output of decoded stream
77
MP3DecoderHelix helix;
8-
StreamingDecoderAdapter decoder(helix);
8+
StreamingDecoderAdapter decoder(helix, "audaudio/mpeg");
99

1010
void setup(){
1111
Serial.begin(115200);

src/AudioTools/AudioCodecs/All.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,5 @@
3939
#include "AudioTools/AudioCodecs/CodecG7xx.h"
4040
#include "AudioTools/AudioCodecs/CodecLC3.h"
4141
#include "AudioTools/AudioCodecs/ContainerAVI.h"
42-
#include "AudioTools/AudioCodecs/DecoderFromStreaming.h"
42+
#include "AudioTools/AudioCodecs/StreamingDecoder.h"
4343
//#include "AudioTools/AudioCodecs/CodecMP3Mini.h"

src/AudioTools/AudioLibs/AudioESP32FFT.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class FFTDriverESP32FFT : public FFTDriver {
7575
};
7676

7777
/**
78-
* @brief AudioFFT using RealFFT
78+
* @brief AudioFFT using https://github.com/pschatzmann/esp32-fft
7979
* @ingroup fft-esp32
8080
* @author Phil Schatzmann
8181
* Warning: This does not work as expected yet: I did not get the expected results...

src/AudioTools/Communication/ESPNowStream.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,8 +362,17 @@ class ESPNowStream : public BaseStream {
362362
}
363363
}
364364

365+
#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 5, 0)
366+
367+
static void default_send_cb(const wifi_tx_info_t* tx_info,
368+
esp_now_send_status_t status) {
369+
const uint8_t *mac_addr = tx_info->des_addr;
370+
#else
365371
static void default_send_cb(const uint8_t *mac_addr,
366372
esp_now_send_status_t status) {
373+
const uint8_t *mac_addr = tx_info->src_addr;
374+
375+
#endif
367376
static uint8_t first_mac[ESP_NOW_KEY_LEN] = {0};
368377
// we use the first confirming mac_addr for further confirmations and ignore
369378
// others

0 commit comments

Comments
 (0)