@@ -17,8 +17,8 @@ namespace audio_tools {
17
17
* reads the sample sizes from the stsz box and uses the mdat offset to read the
18
18
* sample data directly from the file.
19
19
*
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.
22
22
*
23
23
* @author Phil Schatzmann
24
24
*/
@@ -178,18 +178,19 @@ class M4AAudioFileDemuxer : public M4ACommonDemuxer {
178
178
179
179
/* *
180
180
* @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.
185
186
*
186
187
* @param filePtr Pointer to the open file.
187
188
* @param sampleCount Total number of samples in the file.
188
189
* @param stszOffset Offset of the stsz box in the file.
189
190
*/
190
191
191
192
void beginSampleSizeAccess (File* filePtr, uint32_t sampleCount,
192
- uint32_t stszOffset) {
193
+ uint32_t stszOffset) {
193
194
p_file = filePtr;
194
195
sample_index = 0 ;
195
196
sample_count = sampleCount;
0 commit comments