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

Minimal seek+read+write interface a SpoolFileSampleTableStore needs from its scratch file - SeekableSource plus write(), kept non-templated for the same reason as SeekableSource (see its comment): so DemuxerMP4/SpoolStorageFactory don't need to become templates just to hold/pass one of these around. More...

#include <SampleTableStore.h>

Inheritance diagram for SpoolStorage:
SeekableSource FileSpoolStorage< FileT >

Public Member Functions

virtual size_t readBytes (uint8_t *data, size_t len)=0
 
virtual bool seek (size_t pos)=0
 
virtual size_t write (const uint8_t *data, size_t len)=0
 

Detailed Description

Minimal seek+read+write interface a SpoolFileSampleTableStore needs from its scratch file - SeekableSource plus write(), kept non-templated for the same reason as SeekableSource (see its comment): so DemuxerMP4/SpoolStorageFactory don't need to become templates just to hold/pass one of these around.

Member Function Documentation

◆ readBytes()

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

◆ seek()

virtual bool seek ( size_t  pos)
pure virtualinherited

◆ write()

virtual size_t write ( const uint8_t *  data,
size_t  len 
)
pure virtual

Implemented in FileSpoolStorage< FileT >.


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