Ardour
9.0-pre0-582-g084a23a80d
|
Converts on stream of interleaved data to many streams of uninterleaved data. More...
#include <deinterleaver.h>
Public Types | |
typedef std::shared_ptr< Source< T > > | SourcePtr |
Public Member Functions | |
DeInterleaver () | |
Constructor. RT safe. More... | |
~DeInterleaver () | |
void | init (unsigned int num_channels, samplecnt_t max_samples_per_channel) |
Inits the deinterleaver. Must be called before using. Not RT safe. More... | |
SourcePtr | output (unsigned int channel) |
Returns an output indexed by channel RT safe. More... | |
void | process (ProcessContext< T > const &c) |
Deinterleaves data and outputs it to the outputs. RT safe. More... | |
Public Member Functions inherited from AudioGrapher::Sink< DefaultSampleType > | |
virtual | ~Sink () |
virtual void | process (ProcessContext< DefaultSampleType > const &context)=0 |
virtual void | process (ProcessContext< DefaultSampleType > &context) |
Private Types | |
typedef std::shared_ptr< IdentityVertex< T > > | OutputPtr |
Private Member Functions | |
void | reset () |
Private Attributes | |
std::vector< OutputPtr > | outputs |
unsigned int | channels |
samplecnt_t | max_samples |
T * | buffer |
Additional Inherited Members | |
Protected Member Functions inherited from AudioGrapher::Throwing< L > | |
Throwing () | |
bool | throw_level (ThrowLevel level) |
Converts on stream of interleaved data to many streams of uninterleaved data.
Definition at line 18 of file deinterleaver.h.
|
private |
Definition at line 23 of file deinterleaver.h.
typedef std::shared_ptr<Source<T> > AudioGrapher::DeInterleaver< T >::SourcePtr |
Definition at line 35 of file deinterleaver.h.
|
inline |
Constructor.
RT safe.
Definition at line 27 of file deinterleaver.h.
|
inline |
Definition at line 33 of file deinterleaver.h.
|
inline |
Inits the deinterleaver. Must be called before using.
Not RT safe.
Definition at line 38 of file deinterleaver.h.
|
inline |
Returns an output indexed by channel
RT safe.
Definition at line 51 of file deinterleaver.h.
|
inline |
Deinterleaves data and outputs it to the outputs.
RT safe.
Definition at line 61 of file deinterleaver.h.
|
inlineprivate |
Definition at line 93 of file deinterleaver.h.
|
private |
Definition at line 105 of file deinterleaver.h.
|
private |
Definition at line 103 of file deinterleaver.h.
|
private |
Definition at line 104 of file deinterleaver.h.
|
private |
Definition at line 102 of file deinterleaver.h.