File tree Expand file tree Collapse file tree 1 file changed +20
-2
lines changed
src/AudioTools/AudioCodecs Expand file tree Collapse file tree 1 file changed +20
-2
lines changed Original file line number Diff line number Diff line change @@ -514,8 +514,26 @@ class MultiStreamingDecoder : public StreamingDecoder {
514
514
return empty;
515
515
}
516
516
517
- // Uncomment to provide access to the mime detector
518
- // MimeDetector &mimeDetector() { return mime_detector;}
517
+ /* *
518
+ * @brief Provides access to the internal MIME detector
519
+ *
520
+ * Returns a reference to the MimeDetector instance used for automatic
521
+ * format detection. This allows access to advanced features such as:
522
+ * - Adding custom MIME type detection logic
523
+ * - Setting custom detection callbacks
524
+ * - Configuring default MIME types
525
+ * - Accessing detection statistics
526
+ *
527
+ * @note This method should typically only be used for advanced configuration
528
+ * before calling begin(). Modifying the detector after format detection
529
+ * has occurred may lead to unexpected behavior.
530
+ *
531
+ * @return Reference to the internal MimeDetector instance
532
+ *
533
+ * @see MimeDetector::setCheck() for adding custom detection logic
534
+ * @see MimeDetector::setMimeCallback() for detection notifications
535
+ */
536
+ MimeDetector &mimeDetector () { return mime_detector;}
519
537
520
538
protected:
521
539
/* *
You can’t perform that action at this time.
0 commit comments