Ardour
9.0-pre0-427-gd2a3450e2f
|
A process context that allocates and owns it's data buffer. More...
#include <process_context.h>
Public Member Functions | |
AllocatingProcessContext (samplecnt_t samples, ChannelCount channels) | |
Allocates uninitialized memory. More... | |
AllocatingProcessContext (T const *data, samplecnt_t samples, ChannelCount channels) | |
Allocates and copies data from raw buffer. More... | |
AllocatingProcessContext (ProcessContext< T > const &other) | |
Copy constructor, copies data from other ProcessContext. More... | |
template<typename Y > | |
AllocatingProcessContext (ProcessContext< Y > const &other, samplecnt_t samples, ChannelCount channels) | |
"Copy constructor" with uninitialized data, unique sample and channel count, but copies flags More... | |
template<typename Y > | |
AllocatingProcessContext (ProcessContext< Y > const &other, samplecnt_t samples) | |
"Copy constructor" with uninitialized data, unique sample count, but copies channel count and flags More... | |
template<typename Y > | |
AllocatingProcessContext (ProcessContext< Y > const &other) | |
"Copy constructor" uninitialized data, that copies sample and channel count + flags More... | |
~AllocatingProcessContext () | |
Public Member Functions inherited from AudioGrapher::ProcessContext< DefaultSampleType > | |
ProcessContext (DefaultSampleType *data, samplecnt_t samples, ChannelCount channels) | |
Basic constructor with data, sample and channel count. More... | |
ProcessContext (ProcessContext< DefaultSampleType > const &other) | |
Normal copy constructor. More... | |
ProcessContext (ProcessContext< Y > const &other, DefaultSampleType *data, samplecnt_t samples, ChannelCount channels) | |
"Copy constructor" with unique data, sample and channel count, but copies flags More... | |
ProcessContext (ProcessContext< Y > const &other, DefaultSampleType *data, samplecnt_t samples) | |
"Copy constructor" with unique data and sample count, but copies channel count and flags More... | |
ProcessContext (ProcessContext< Y > const &other, DefaultSampleType *data) | |
"Copy constructor" with unique data, but copies sample and channel count + flags More... | |
ProcessContext | beginning (samplecnt_t samples) |
Make new Context out of the beginning of this context. More... | |
virtual | ~ProcessContext () |
DefaultSampleType const * | data () const |
data points to the array of data to process More... | |
DefaultSampleType * | data () |
samplecnt_t const & | samples () const |
samples tells how many samples the array pointed by data contains More... | |
ChannelCount const & | channels () const |
samplecnt_t | samples_per_channel () const |
Returns the amount of samples per channel. More... | |
bool | has_flag (Flag flag) const |
void | set_flag (Flag flag) const |
void | remove_flag (Flag flag) const |
FlagField const & | flags () const |
Additional Inherited Members | |
Public Types inherited from AudioGrapher::ProcessContext< DefaultSampleType > | |
enum | Flags |
typedef FlagField::Flag | Flag |
Protected Member Functions inherited from AudioGrapher::Throwing< L > | |
Throwing () | |
bool | throw_level (ThrowLevel level) |
Protected Attributes inherited from AudioGrapher::ProcessContext< DefaultSampleType > | |
DefaultSampleType *const | _data |
samplecnt_t | _samples |
ChannelCount | _channels |
FlagField | _flags |
A process context that allocates and owns it's data buffer.
Definition at line 123 of file process_context.h.
|
inline |
Allocates uninitialized memory.
Definition at line 127 of file process_context.h.
|
inline |
Allocates and copies data from raw buffer.
Definition at line 131 of file process_context.h.
|
inline |
Copy constructor, copies data from other ProcessContext.
Definition at line 136 of file process_context.h.
|
inline |
"Copy constructor" with uninitialized data, unique sample and channel count, but copies flags
Definition at line 142 of file process_context.h.
|
inline |
"Copy constructor" with uninitialized data, unique sample count, but copies channel count and flags
Definition at line 147 of file process_context.h.
|
inline |
"Copy constructor" uninitialized data, that copies sample and channel count + flags
Definition at line 152 of file process_context.h.
|
inline |
Definition at line 155 of file process_context.h.