File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
examples/tests/codecs/test-codec-alac Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 2
2
* @file test-codec-alac.ino
3
3
* @author Phil Schatzmann
4
4
* @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
5
6
* @version 0.1
6
7
*
7
8
* @copyright Copyright (c) 2025
11
12
#include " AudioTools/AudioCodecs/CodecALAC.h"
12
13
#include " AudioTools/AudioLibs/AudioBoardStream.h"
13
14
14
- SET_LOOP_TASK_STACK_SIZE (16 *1024 ); // 16KB
15
+ // SET_LOOP_TASK_STACK_SIZE(16*1024); // 16KB - not needed
15
16
16
17
AudioInfo info (44100 , 2 , 16 );
17
18
SineWaveGenerator<int16_t > sineWave ( 32000 ); // subclass of SoundGenerator with max amplitude of 32000
@@ -56,4 +57,4 @@ void setup() {
56
57
57
58
void loop () {
58
59
copier.copy ();
59
- }
60
+ }
You can’t perform that action at this time.
0 commit comments