#include <AudioIOSequences.h>
An interface for recording, by appending sequentially (but it also requires random access for insertion of silence)
Definition at line 42 of file AudioIOSequences.h.
◆ ~RecordableSequence()
RecordableSequence::~RecordableSequence |
( |
| ) |
|
|
virtualdefault |
◆ Append()
Append the sample data to the track. You must call Flush() after the last Append.
- Precondition
iChannel < NChannels()
- Returns
- true in case a block was flushed from memory to underlying DB
- Parameters
-
effectiveFormat | Make the effective format of the data at least the minumum of this value and `format`. (Maybe wider, if merging with preexistent data.) If the data are later narrowed from stored format, but not narrower than the effective, then no dithering will occur. |
Implemented in WaveTrack.
◆ Flush()
virtual void RecordableSequence::Flush |
( |
| ) |
|
|
pure virtual |
Flush must be called after last Append.
Implemented in WaveTrack.
◆ GetRate()
virtual double RecordableSequence::GetRate |
( |
| ) |
const |
|
pure virtual |
◆ GetSampleFormat()
virtual sampleFormat RecordableSequence::GetSampleFormat |
( |
| ) |
const |
|
pure virtual |
◆ InsertSilence()
virtual void RecordableSequence::InsertSilence |
( |
double |
t, |
|
|
double |
len |
|
) |
| |
|
pure virtual |
◆ NChannels()
virtual size_t RecordableSequence::NChannels |
( |
| ) |
const |
|
pure virtual |
◆ RepairChannels()
virtual void RecordableSequence::RepairChannels |
( |
| ) |
|
|
pure virtual |
Called in exception handling after possibly unbalanced calls to Append in different channels. Allows the sequence to repair consistency.
Implemented in WaveTrack.
The documentation for this struct was generated from the following files: