Skip to content

Commit 775771e

Browse files
committed
URLStreamESP32 for ESP32_CMAKE
1 parent 984c4b1 commit 775771e

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/AudioTools/AudioCodecs/CodecMP3Helix.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,13 @@ class MP3DecoderHelix : public AudioDecoder {
6868
if (mp3!=nullptr) delete mp3;
6969
}
7070

71+
#if defined(ARDUINO)
7172
/// Defines the output Stream
7273
void setOutput(Print &outStream) override {
7374
AudioDecoder::setOutput(outStream);
7475
if (mp3!=nullptr) mp3->setOutput(outStream);
7576
}
77+
#endif
7678

7779
/// Starts the processing
7880
bool begin(){

src/AudioTools/CoreAudio/AudioHttp/AudioHttp.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
#include "URLStream.h"
99
#include "AudioServer.h"
10-
#if defined(ESP32) && defined(USE_URL_ARDUINO)
10+
11+
#if ((defined(ESP32) && defined(USE_URL_ARDUINO)) || defined(ESP32_CMAKE))
1112
# include "URLStreamESP32.h"
1213
#endif

0 commit comments

Comments
 (0)