Skip to content

Commit a11f33d

Browse files
committed
MP4Parser: Arduino compile error
1 parent 203045e commit a11f33d

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

src/AudioTools/AudioCodecs/M4AAudioDemuxer.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ class M4AAudioDemuxer {
3030
const char* mime = nullptr; ///< MIME type string.
3131
const uint8_t* data; ///< Pointer to frame data.
3232
size_t size; ///< Size of frame data in bytes.
33-
uint64_t timestamp; ///< Timestamp of the frame (if available).
3433
};
3534

3635
/**
@@ -254,7 +253,6 @@ class M4AAudioDemuxer {
254253
frame.codec = codec;
255254
frame.data = buffer.data();
256255
frame.size = frameSize;
257-
frame.timestamp = 0; // TODO: timestamp
258256
switch (codec) {
259257
case Codec::AAC: {
260258
uint8_t out[frameSize + 7];

src/AudioTools/AudioCodecs/MP4Parser.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66
#include <string>
77

88
#include "AudioTools/CoreAudio/Buffers.h"
9-
#ifdef ARDUINO
10-
#include "Serial.h"
11-
#endif
129

1310
namespace audio_tools {
1411

0 commit comments

Comments
 (0)