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 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
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
1617AudioInfo info (44100 , 2 , 16 );
1718SineWaveGenerator<int16_t > sineWave ( 32000 ); // subclass of SoundGenerator with max amplitude of 32000
@@ -56,4 +57,4 @@ void setup() {
5657
5758void loop () {
5859 copier.copy ();
59- }
60+ }
You can’t perform that action at this time.
0 commit comments