File tree Expand file tree Collapse file tree 2 files changed +7
-11
lines changed Expand file tree Collapse file tree 2 files changed +7
-11
lines changed Original file line number Diff line number Diff line change @@ -4,10 +4,6 @@ cmake_minimum_required(VERSION 3.20)
4
4
project (mp3-mad )
5
5
set (CMAKE_CXX_STANDARD 11 )
6
6
set (DCMAKE_CXX_FLAGS "-Werror" )
7
- #if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
8
- # set (CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -fno-omit-frame-pointer -fsanitize=address")
9
- # set (CMAKE_LINKER_FLAGS_DEBUG "${CMAKE_LINKER_FLAGS_DEBUG} -fno-omit-frame-pointer -fsanitize=address")
10
- #endif()
11
7
12
8
include (FetchContent )
13
9
@@ -33,5 +29,5 @@ target_compile_definitions(mp3-mad PUBLIC -DARDUINO -DEXIT_ON_STOP -DUSE_MAD -DU
33
29
# specify libraries
34
30
target_link_libraries (mp3-mad portaudio arduino_emulator arduino_libmad arduino-audio-tools )
35
31
# ESP32: CONFIG_ARDUINO_LOOP_STACK_SIZE 8192 -> so we test it with this setting "-Wl,-z,stack-size=8192"
36
- add_link_options ("-z,stack-size=8192" )
32
+ # add_link_options("-z,stack-size=8192")
37
33
Original file line number Diff line number Diff line change @@ -28,12 +28,12 @@ void setup() {
28
28
AudioLogger::instance ().begin (Serial, AudioLogger::Debug);
29
29
30
30
// start I2S
31
- Serial.println (" starting I2S..." );
32
- auto cfgi = out.defaultConfig (TX_MODE);
33
- cfgi.sample_rate = sample_rate;
34
- cfgi.channels = channels;
35
- cfgi.bits_per_sample = 16 ;
36
- out.begin (cfgi);
31
+ // Serial.println("starting I2S...");
32
+ // auto cfgi = out.defaultConfig(TX_MODE);
33
+ // cfgi.sample_rate = sample_rate;
34
+ // cfgi.channels = channels;
35
+ // cfgi.bits_per_sample = 16;
36
+ // out.begin(cfgi);
37
37
38
38
// Setup sine wave
39
39
auto cfgs = sineWave.defaultConfig ();
You can’t perform that action at this time.
0 commit comments