ardour
Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
ARDOUR::ExportGraphBuilder::Normalizer Class Reference

Public Member Functions

 Normalizer (ExportGraphBuilder &parent, FileSpec const &new_config, framecnt_t max_frames)
 
FloatSinkPtr sink ()
 
void add_child (FileSpec const &new_config)
 
bool operator== (FileSpec const &other_config) const
 
unsigned get_normalize_cycle_count () const
 
bool process ()
 Returns true when finished. More...
 

Private Types

typedef boost::shared_ptr
< AudioGrapher::PeakReader > 
PeakReaderPtr
 
typedef boost::shared_ptr
< AudioGrapher::Normalizer > 
NormalizerPtr
 
typedef boost::shared_ptr
< AudioGrapher::TmpFile
< Sample > > 
TmpFilePtr
 
typedef boost::shared_ptr
< AudioGrapher::Threader
< Sample > > 
ThreaderPtr
 
typedef boost::shared_ptr
< AudioGrapher::AllocatingProcessContext
< Sample > > 
BufferPtr
 

Private Member Functions

void start_post_processing ()
 

Private Attributes

ExportGraphBuilderparent
 
FileSpec config
 
framecnt_t max_frames_out
 
BufferPtr buffer
 
PeakReaderPtr peak_reader
 
TmpFilePtr tmp_file
 
NormalizerPtr normalizer
 
ThreaderPtr threader
 
boost::ptr_list< SFCchildren
 
PBD::ScopedConnection post_processing_connection
 

Detailed Description

Definition at line 128 of file export_graph_builder.h.

Member Typedef Documentation

Definition at line 145 of file export_graph_builder.h.

Definition at line 142 of file export_graph_builder.h.

Definition at line 141 of file export_graph_builder.h.

Definition at line 144 of file export_graph_builder.h.

Definition at line 143 of file export_graph_builder.h.

Constructor & Destructor Documentation

ARDOUR::ExportGraphBuilder::Normalizer::Normalizer ( ExportGraphBuilder parent,
FileSpec const &  new_config,
framecnt_t  max_frames 
)

Definition at line 317 of file export_graph_builder.cc.

Member Function Documentation

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

Definition at line 355 of file export_graph_builder.cc.

unsigned ARDOUR::ExportGraphBuilder::Normalizer::get_normalize_cycle_count ( ) const

Definition at line 376 of file export_graph_builder.cc.

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

Definition at line 369 of file export_graph_builder.cc.

bool ARDOUR::ExportGraphBuilder::Normalizer::process ( )

Returns true when finished.

Definition at line 383 of file export_graph_builder.cc.

ExportGraphBuilder::FloatSinkPtr ARDOUR::ExportGraphBuilder::Normalizer::sink ( )

Definition at line 349 of file export_graph_builder.cc.

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

Definition at line 390 of file export_graph_builder.cc.

Member Data Documentation

BufferPtr ARDOUR::ExportGraphBuilder::Normalizer::buffer
private

Definition at line 154 of file export_graph_builder.h.

boost::ptr_list<SFC> ARDOUR::ExportGraphBuilder::Normalizer::children
private

Definition at line 159 of file export_graph_builder.h.

FileSpec ARDOUR::ExportGraphBuilder::Normalizer::config
private

Definition at line 151 of file export_graph_builder.h.

framecnt_t ARDOUR::ExportGraphBuilder::Normalizer::max_frames_out
private

Definition at line 152 of file export_graph_builder.h.

NormalizerPtr ARDOUR::ExportGraphBuilder::Normalizer::normalizer
private

Definition at line 157 of file export_graph_builder.h.

ExportGraphBuilder& ARDOUR::ExportGraphBuilder::Normalizer::parent
private

Definition at line 149 of file export_graph_builder.h.

PeakReaderPtr ARDOUR::ExportGraphBuilder::Normalizer::peak_reader
private

Definition at line 155 of file export_graph_builder.h.

PBD::ScopedConnection ARDOUR::ExportGraphBuilder::Normalizer::post_processing_connection
private

Definition at line 161 of file export_graph_builder.h.

ThreaderPtr ARDOUR::ExportGraphBuilder::Normalizer::threader
private

Definition at line 158 of file export_graph_builder.h.

TmpFilePtr ARDOUR::ExportGraphBuilder::Normalizer::tmp_file
private

Definition at line 156 of file export_graph_builder.h.


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