|
DSPark 1.8.0
Header-only C++20 DSP for real-time and offline audio
|
Rewindable, complete-file source with int64 positions and bounded blocks. More...
#include <OfflineProcessing.h>

Public Member Functions | |
| virtual | ~OfflineAudioSource ()=default |
| virtual OfflineAudioSpec | getSpec () const noexcept=0 |
| Returns format and provenance by value. | |
| virtual bool | read (std::int64_t first, AudioBufferView< T > destination)=0 |
| Copies a bounded source-relative range into the supplied block. | |
Rewindable, complete-file source with int64 positions and bounded blocks.
Threading: worker-owned, never concurrently read or edited. read() must fill every requested channel/frame or return false. The source owns no destination block and must not retain its pointers. Repeated reads must give the same PCM. Change revision whenever content or its interpretation changes between jobs.
Definition at line 166 of file OfflineProcessing.h.
|
virtualdefault |
|
pure virtualnoexcept |
Returns format and provenance by value.
Implemented in dspark::OfflineBufferSource< T, MaxChannels >.
|
pure virtual |
Copies a bounded source-relative range into the supplied block.
Implemented in dspark::OfflineBufferSource< T, MaxChannels >.