Skip to content

Commit 0b8ffa8

Browse files
committed
libhelix idf support
1 parent 775771e commit 0b8ffa8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/AudioTools/AudioCodecs/CodecAACHelix.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#pragma once
22

33
#include "AudioTools/AudioCodecs/AudioCodecsBase.h"
4+
#define HELIX_PRINT
45
#include "AACDecoderHelix.h"
56

67
namespace audio_tools {

src/AudioTools/AudioCodecs/CodecMP3Helix.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#pragma once
22

33
#include "AudioTools/AudioCodecs/AudioCodecsBase.h"
4+
#define HELIX_PRINT
45
#include "MP3DecoderHelix.h"
56

67
namespace audio_tools {
@@ -68,13 +69,11 @@ class MP3DecoderHelix : public AudioDecoder {
6869
if (mp3!=nullptr) delete mp3;
6970
}
7071

71-
#if defined(ARDUINO)
7272
/// Defines the output Stream
7373
void setOutput(Print &outStream) override {
7474
AudioDecoder::setOutput(outStream);
7575
if (mp3!=nullptr) mp3->setOutput(outStream);
7676
}
77-
#endif
7877

7978
/// Starts the processing
8079
bool begin(){

0 commit comments

Comments
 (0)