arduino-audio-tools
Loading...
Searching...
No Matches
Public Member Functions | List of all members
SeekableSource Class Referenceabstract

Minimal seek+read interface a SourceSeekSampleTableStore needs from "the original MP4 source" - kept deliberately tiny (no write, no generic Stream surface) and non-templated, so classes that only need to hold/pass a source around (like DemuxerMP4 itself) don't have to become templates just to support this one storage strategy. More...

#include <SampleTableStore.h>

Inheritance diagram for SeekableSource:
FileSeekableSource< FileT, WriterT > SpoolStorage FileSpoolStorage< FileT >

Public Member Functions

virtual ~SeekableSource ()=default
 
virtual size_t readBytes (uint8_t *data, size_t len)=0
 
virtual bool seek (size_t pos)=0
 

Detailed Description

Minimal seek+read interface a SourceSeekSampleTableStore needs from "the original MP4 source" - kept deliberately tiny (no write, no generic Stream surface) and non-templated, so classes that only need to hold/pass a source around (like DemuxerMP4 itself) don't have to become templates just to support this one storage strategy.

Constructor & Destructor Documentation

◆ ~SeekableSource()

virtual ~SeekableSource ( )
virtualdefault

Member Function Documentation

◆ readBytes()

virtual size_t readBytes ( uint8_t *  data,
size_t  len 
)
pure virtual

◆ seek()

virtual bool seek ( size_t  pos)
pure virtual

The documentation for this class was generated from the following file: