Ardour  9.0-pre0-582-g084a23a80d
ARDOUR::ExportGraphBuilder::Intermediate Class Reference

Public Member Functions

 Intermediate (ExportGraphBuilder &parent, FileSpec const &new_config, samplecnt_t max_samples)
 
FloatSinkPtr sink ()
 
void add_child (FileSpec const &new_config)
 
void remove_children (bool remove_out_files)
 
bool operator== (FileSpec const &other_config) const
 
unsigned get_postprocessing_cycle_count () const
 
bool process ()
 Returns true when finished. More...
 

Private Types

typedef std::shared_ptr< AudioGrapher::PeakReaderPeakReaderPtr
 
typedef std::shared_ptr< AudioGrapher::LoudnessReaderLoudnessReaderPtr
 
typedef std::shared_ptr< AudioGrapher::TmpFile< Sample > > TmpFilePtr
 
typedef std::shared_ptr< AudioGrapher::Threader< Sample > > ThreaderPtr
 
typedef std::shared_ptr< AudioGrapher::AllocatingProcessContext< Sample > > BufferPtr
 

Private Member Functions

void prepare_post_processing ()
 
void start_post_processing ()
 

Private Attributes

ExportGraphBuilderparent
 
FileSpec config
 
samplecnt_t max_samples_out
 
bool use_loudness
 
bool use_peak
 
BufferPtr buffer
 
PeakReaderPtr peak_reader
 
TmpFilePtr tmp_file
 
ThreaderPtr threader
 
LoudnessReaderPtr loudness_reader
 
std::list< SFCchildren
 
PBD::ScopedConnectionList post_processing_connection
 

Detailed Description

Definition at line 197 of file export_graph_builder.h.

Member Typedef Documentation

◆ BufferPtr

◆ LoudnessReaderPtr

◆ PeakReaderPtr

◆ ThreaderPtr

◆ TmpFilePtr

Constructor & Destructor Documentation

◆ Intermediate()

ARDOUR::ExportGraphBuilder::Intermediate::Intermediate ( ExportGraphBuilder parent,
FileSpec const &  new_config,
samplecnt_t  max_samples 
)

Member Function Documentation

◆ add_child()

void ARDOUR::ExportGraphBuilder::Intermediate::add_child ( FileSpec const &  new_config)

◆ get_postprocessing_cycle_count()

unsigned ARDOUR::ExportGraphBuilder::Intermediate::get_postprocessing_cycle_count ( ) const

◆ operator==()

bool ARDOUR::ExportGraphBuilder::Intermediate::operator== ( FileSpec const &  other_config) const

◆ prepare_post_processing()

void ARDOUR::ExportGraphBuilder::Intermediate::prepare_post_processing ( )
private

◆ process()

bool ARDOUR::ExportGraphBuilder::Intermediate::process ( )

Returns true when finished.

◆ remove_children()

void ARDOUR::ExportGraphBuilder::Intermediate::remove_children ( bool  remove_out_files)

◆ sink()

FloatSinkPtr ARDOUR::ExportGraphBuilder::Intermediate::sink ( )

◆ start_post_processing()

void ARDOUR::ExportGraphBuilder::Intermediate::start_post_processing ( )
private

Member Data Documentation

◆ buffer

BufferPtr ARDOUR::ExportGraphBuilder::Intermediate::buffer
private

Definition at line 226 of file export_graph_builder.h.

◆ children

std::list<SFC> ARDOUR::ExportGraphBuilder::Intermediate::children
private

Definition at line 232 of file export_graph_builder.h.

◆ config

FileSpec ARDOUR::ExportGraphBuilder::Intermediate::config
private

Definition at line 222 of file export_graph_builder.h.

◆ loudness_reader

LoudnessReaderPtr ARDOUR::ExportGraphBuilder::Intermediate::loudness_reader
private

Definition at line 231 of file export_graph_builder.h.

◆ max_samples_out

samplecnt_t ARDOUR::ExportGraphBuilder::Intermediate::max_samples_out
private

Definition at line 223 of file export_graph_builder.h.

◆ parent

ExportGraphBuilder& ARDOUR::ExportGraphBuilder::Intermediate::parent
private

Definition at line 220 of file export_graph_builder.h.

◆ peak_reader

PeakReaderPtr ARDOUR::ExportGraphBuilder::Intermediate::peak_reader
private

Definition at line 227 of file export_graph_builder.h.

◆ post_processing_connection

PBD::ScopedConnectionList ARDOUR::ExportGraphBuilder::Intermediate::post_processing_connection
private

Definition at line 234 of file export_graph_builder.h.

◆ threader

ThreaderPtr ARDOUR::ExportGraphBuilder::Intermediate::threader
private

Definition at line 229 of file export_graph_builder.h.

◆ tmp_file

TmpFilePtr ARDOUR::ExportGraphBuilder::Intermediate::tmp_file
private

Definition at line 228 of file export_graph_builder.h.

◆ use_loudness

bool ARDOUR::ExportGraphBuilder::Intermediate::use_loudness
private

Definition at line 224 of file export_graph_builder.h.

◆ use_peak

bool ARDOUR::ExportGraphBuilder::Intermediate::use_peak
private

Definition at line 225 of file export_graph_builder.h.


The documentation for this class was generated from the following file: