Skip to content

Commit 758a884

Browse files
committed
Cleanup
1 parent fc2d5c4 commit 758a884

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

src/AudioTools/AudioCodecs/M4AAudioFileDemuxer.h

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ namespace audio_tools {
1717
* reads the sample sizes from the stsz box and uses the mdat offset to read the
1818
* sample data directly from the file.
1919
*
20-
* The result will either be provided via the frame_callback or
21-
* can be processed by the user.
20+
* The result is written to the provided decoder or alternatively will be
21+
* provided via the frame_callback.
2222
*
2323
* @author Phil Schatzmann
2424
*/
@@ -178,18 +178,19 @@ class M4AAudioFileDemuxer : public M4ACommonDemuxer {
178178

179179
/**
180180
* @brief Initializes the demuxer for reading sample sizes from the stsz box.
181-
*
182-
* This method sets the file pointer, resets the sample index, sets the total sample count,
183-
* and records the offset of the stsz box in the file. It is typically called before reading
184-
* sample sizes directly from the file, ensuring the demuxer is properly positioned.
181+
*
182+
* This method sets the file pointer, resets the sample index, sets the total
183+
* sample count, and records the offset of the stsz box in the file. It is
184+
* typically called before reading sample sizes directly from the file,
185+
* ensuring the demuxer is properly positioned.
185186
*
186187
* @param filePtr Pointer to the open file.
187188
* @param sampleCount Total number of samples in the file.
188189
* @param stszOffset Offset of the stsz box in the file.
189190
*/
190191

191192
void beginSampleSizeAccess(File* filePtr, uint32_t sampleCount,
192-
uint32_t stszOffset) {
193+
uint32_t stszOffset) {
193194
p_file = filePtr;
194195
sample_index = 0;
195196
sample_count = sampleCount;

tests-cmake/codec/mp4-parser/mp4-parser.ino

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
#include "AudioTools/AudioCodecs/MP4Parser.h"
1212
#include "SD.h"
1313

14-
//MP4Parser parser;
1514
MP4Parser parser;
1615
File file;
1716

@@ -30,7 +29,6 @@ void setup() {
3029
return;
3130
}
3231

33-
//parser.resize(1024 * 1024); // Set buffer size to 2MB
3432
parser.begin();
3533

3634
Serial.println("MP4 Boxes:");

0 commit comments

Comments
 (0)