Skip to content

Commit c750482

Browse files
committed
Compile errors Concurrency
1 parent 09044fc commit c750482

File tree

10 files changed

+12
-9
lines changed

10 files changed

+12
-9
lines changed

examples/examples-basic-api/base-SynchronizedBufferRTOS/base-SynchronizedBufferRTOS.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
*/
1111
#include "AudioTools.h"
12-
#include "Concurrency/Concurrency.h" // https://github.com/pschatzmann/arduino-freertos-addons
12+
#include "AudioLibs/Concurrency.h" // https://github.com/pschatzmann/arduino-freertos-addons
1313

1414
BufferRTOS<int16_t> buffer(1024);
1515
void doWrite(); // forward declaration

examples/tests/concurrency/NBuffer/NBuffer.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
*/
1111
#include "AudioTools.h"
12-
#include "Concurrency/Concurrency.h"
12+
#include "AudioLibs/Concurrency.h"
1313

1414
NBuffer<int16_t> buffer(512, 4);
1515

examples/tests/concurrency/synchBufferRTOS/synchBufferRTOS.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
*/
1111
#include "AudioTools.h"
12-
#include "Concurrency/Concurrency.h"
12+
#include "AudioLibs/Concurrency.h"
1313

1414
BufferRTOS<int16_t> buffer(1024, 512);
1515

examples/tests/concurrency/synchNBuffer/synchNBuffer.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
*/
1111
#include "AudioTools.h"
12-
#include "Concurrency/Concurrency.h"
12+
#include "AudioLibs/Concurrency.h"
1313

1414
audio_tools::Mutex mutex;
1515
NBuffer<int16_t> nbuffer(512, 8);

examples/tests/concurrency/synchRingBuffer/synchRingBuffer.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
*/
1111
#include "AudioTools.h"
12-
#include "Concurrency/Concurrency.h"
12+
#include "AudioLibs/Concurrency.h"
1313

1414
audio_tools::Mutex mutex;
1515
RingBuffer<int16_t> nbuffer(512 * 4);

examples/tests/performance/mp3-SynchronizedBufferRTOS/mp3-SynchronizedBufferRTOS.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#include "AudioCodecs/CodecMP3Helix.h"
1414
#include "AudioLibs/AudioBoardStream.h"
1515
#include "AudioLibs/AudioSourceSDFAT.h"
16-
#include "Concurrency/Concurrency.h"
16+
#include "AudioLibs/Concurrency.h"
1717

1818
const int buffer_count = 30;
1919
const int buffer_size = 512;

examples/tests/performance/mp3-SynchronizedNBuffer/mp3-SynchronizedNBuffer.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#include "AudioCodecs/CodecMP3Helix.h"
1414
#include "AudioLibs/AudioBoardStream.h"
1515
#include "AudioLibs/AudioSourceSDFAT.h"
16-
#include "Concurrency/Concurrency.h"
16+
#include "AudioLibs/Concurrency.h"
1717

1818
const int buffer_count = 30;
1919
const int buffer_size = 512;

examples/tests/performance/mp3-SynchronizedRingBuffer/mp3-SynchronizedRingBuffer.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#include "AudioCodecs/CodecMP3Helix.h"
1414
#include "AudioLibs/AudioBoardStream.h"
1515
#include "AudioLibs/AudioSourceSDFAT.h"
16-
#include "Concurrency/Concurrency.h"
16+
#include "AudioLibs/Concurrency.h"
1717

1818
const int buffer_count = 30;
1919
const int buffer_size = 512;

src/AudioHttp/URLStreamBuffered.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ class BufferedTaskStream : public AudioStream {
107107
return result;
108108
}
109109

110+
110111
protected:
111112
AudioStream *p_stream = nullptr;
112113
bool active = false;
@@ -217,6 +218,8 @@ class URLStreamBuffered : public AbstractURLStream {
217218
urlStream.setPassword(password);
218219
}
219220

221+
void setPowerSave(bool ps) override { urlStream.setPowerSave(ps); }
222+
220223
protected:
221224
BufferedTaskStream taskStream;
222225
URLStream urlStream;

src/AudioLibs/HLSStream.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#ifdef USE_URL_ARDUINO
66
#include "AudioBasic/StrExt.h"
77
#include "AudioHttp/URLStream.h"
8-
#include "Concurrency/Concurrency.h"
8+
#include "AudioLibs/Concurrency.h"
99

1010
#define MAX_HLS_LINE 512
1111
#define START_URLS_LIMIT 4

0 commit comments

Comments
 (0)