|
Ardour
9.0-pre0-1950-g391fe97693
|
A class that chunks process cycles into equal sized samples. More...
#include <chunker.h>
Public Member Functions | |
| Chunker (samplecnt_t chunk_size) | |
| ~Chunker () | |
| void | process (ProcessContext< T > const &context) |
Public Member Functions inherited from AudioGrapher::ListedSource< DefaultSampleType > | |
| void | add_output (typename Source< DefaultSampleType >::SinkPtr output) |
| void | clear_outputs () |
| Removes all outputs added. More... | |
| void | remove_output (typename Source< DefaultSampleType >::SinkPtr output) |
Public Member Functions inherited from AudioGrapher::Source< DefaultSampleType > | |
| virtual | ~Source () |
| virtual void | add_output (SinkPtr output)=0 |
| Adds an output to this source. All data generated is forwarded to output. More... | |
| virtual void | remove_output (SinkPtr output)=0 |
| Removes a specific output from this source. 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 Attributes | |
| samplecnt_t | chunk_size |
| samplecnt_t | position |
| T * | buffer |
Additional Inherited Members | |
Public Types inherited from AudioGrapher::Source< DefaultSampleType > | |
| typedef std::shared_ptr< Sink< DefaultSampleType > > | SinkPtr |
Public Types inherited from AudioGrapher::FlagDebuggable< L > | |
| typedef FlagField::Flag | Flag |
Protected Types inherited from AudioGrapher::ListedSource< DefaultSampleType > | |
| typedef std::list< typename Source< DefaultSampleType >::SinkPtr > | SinkList |
Protected Member Functions inherited from AudioGrapher::ListedSource< DefaultSampleType > | |
| void | output (ProcessContext< DefaultSampleType > const &c) |
| Helper for derived classes. More... | |
| void | output (ProcessContext< DefaultSampleType > &c) |
| bool | output_size_is_one () |
Protected Member Functions inherited from AudioGrapher::FlagDebuggable< L > | |
| void | add_supported_flag (Flag flag) |
| Adds a flag to the set of flags supported. More... | |
| template<typename SelfType , typename ContextType > | |
| void | check_flags (SelfType &self, ProcessContext< ContextType > context) |
| Prints debug output if context contains flags that are not supported by this class. More... | |
Protected Member Functions inherited from AudioGrapher::Debuggable< DebugNone > | |
| Debuggable (std::ostream &debug_stream=std::cerr) | |
| bool | debug_level (DebugLevel level) |
| std::ostream & | debug_stream () |
Protected Attributes inherited from AudioGrapher::ListedSource< DefaultSampleType > | |
| SinkList | outputs |
A class that chunks process cycles into equal sized samples.
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
private |