|
DSPark 1.8.0
Header-only C++20 DSP for real-time and offline audio
|
Borrowed planar-buffer adapter; does not allocate, copy or own input. More...
#include <OfflineProcessing.h>


Public Member Functions | |
| OfflineBufferSource (AudioBufferView< const T, MaxChannels > audio, double sampleRate, std::uint64_t sourceId=0, std::uint64_t revision=0, std::int64_t timelineOrigin=0) noexcept | |
| Binds an existing view and optional host content/revision keys. | |
| OfflineAudioSpec | getSpec () const noexcept override |
| Returns format and provenance by value. | |
| bool | read (std::int64_t first, AudioBufferView< T > destination) override |
| Copies a bounded source-relative range into the supplied block. | |
Public Member Functions inherited from dspark::OfflineAudioSource< T > | |
| virtual | ~OfflineAudioSource ()=default |
Borrowed planar-buffer adapter; does not allocate, copy or own input.
Threading: the buffer must stay alive and immutable until the worker job ends. A view's channel capacity is preserved, including unsupported layouts that a particular algorithm must reject rather than silently truncate.
Definition at line 184 of file OfflineProcessing.h.
|
inlinenoexcept |
Binds an existing view and optional host content/revision keys.
Definition at line 188 of file OfflineProcessing.h.
|
inlineoverridevirtualnoexcept |
Returns format and provenance by value.
Implements dspark::OfflineAudioSource< T >.
Definition at line 196 of file OfflineProcessing.h.
|
inlineoverridevirtual |
Copies a bounded source-relative range into the supplied block.
Implements dspark::OfflineAudioSource< T >.
Definition at line 200 of file OfflineProcessing.h.