File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 1717 project (arduino-audio-tools)
1818
1919 set (CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -O0" )
20- # set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -O0")
2120 set (FETCHCONTENT_UPDATES_DISCONNECTED ON )
22- add_compile_options (-Wno-deprecated-declarations)
2321
2422 include (FetchContent)
2523
@@ -41,14 +39,14 @@ else()
4139 )
4240
4341 if (ADD_PORTAUDIO)
44- add_compile_options (-DIS_DESKTOP)
4542 # Add Portaduio for desktop build
4643 FetchContent_Declare(portaudio GIT_REPOSITORY "https://github.com/PortAudio/portaudio.git" GIT_TAG v19.7.0 )
4744 FetchContent_GetProperties(portaudio)
4845 if (NOT portaudio_POPULATED)
4946 FetchContent_Populate(portaudio)
5047 add_subdirectory (${portaudio_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} /portaudio)
5148 endif ()
49+
5250 endif ()
5351
5452
Original file line number Diff line number Diff line change @@ -148,7 +148,7 @@ class Stream : public Print {
148148#ifndef DOXYGEN
149149 virtual int read () { return -1 ; }
150150 virtual int peek () { return -1 ; }
151- virtual void setTimeout (size_t t ) {}
151+ virtual void setTimeout (size_t timeoutMs ) {}
152152 size_t readBytesUntil (char terminator, char *buffer, size_t length) {
153153 for (int j=0 ;j<length;j++){
154154 int val = read ();
Original file line number Diff line number Diff line change @@ -335,7 +335,7 @@ class HttpRequest : public BaseStream {
335335 }
336336
337337 // / Defines the client timeout in ms
338- void setTimeout (size_t timeoutMs) { clientTimeout = timeoutMs; }
338+ void setTimeout (size_t timeoutMs) override { clientTimeout = timeoutMs; }
339339
340340 // / we are sending the data chunked
341341 bool isChunked () { return request_header.isChunked (); }
You can’t perform that action at this time.
0 commit comments