Skip to content

Commit f44e898

Browse files
committed
2 parents df97da4 + 5d657ca commit f44e898

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

examples/tests/codecs/test-codec-alac/test-codec-alac.ino

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
* @file test-codec-alac.ino
33
* @author Phil Schatzmann
44
* @brief generate sine wave -> encoder -> decoder -> audiokit (i2s)
5+
* @note Activate PSRAM or dicrease the frame size e.g. by adding 1024 to the constructor of the enc_alac and dec_alac
56
* @version 0.1
67
*
78
* @copyright Copyright (c) 2025
@@ -11,7 +12,7 @@
1112
#include "AudioTools/AudioCodecs/CodecALAC.h"
1213
#include "AudioTools/AudioLibs/AudioBoardStream.h"
1314

14-
SET_LOOP_TASK_STACK_SIZE(16*1024); // 16KB
15+
// SET_LOOP_TASK_STACK_SIZE(16*1024); // 16KB - not needed
1516

1617
AudioInfo info(44100, 2, 16);
1718
SineWaveGenerator<int16_t> sineWave( 32000); // subclass of SoundGenerator with max amplitude of 32000
@@ -56,4 +57,4 @@ void setup() {
5657

5758
void loop() {
5859
copier.copy();
59-
}
60+
}

0 commit comments

Comments
 (0)