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

#include <export_graph_builder.h>

Classes

struct  AnyExport
 
class  ChannelConfig
 
class  Encoder
 
class  Intermediate
 
class  SFC
 
class  SilenceHandler
 
class  SRC
 

Public Member Functions

 ExportGraphBuilder (Session const &session)
 
 ~ExportGraphBuilder ()
 
samplecnt_t process (samplecnt_t samples, bool last_cycle)
 
bool post_process ()
 
bool need_postprocessing () const
 
bool realtime () const
 
unsigned get_postprocessing_cycle_count () const
 
void reset ()
 
void cleanup (bool remove_out_files=false)
 
void set_current_timespan (std::shared_ptr< ExportTimespan > span)
 
void add_config (FileSpec const &config, bool rt)
 
void get_analysis_results (AnalysisResults &results)
 
std::vector< std::string > exported_files () const
 

Private Types

typedef ExportHandler::FileSpec FileSpec
 
typedef std::shared_ptr< AudioGrapher::Sink< Sample > > FloatSinkPtr
 
typedef std::shared_ptr< AudioGrapher::AnalyserAnalysisPtr
 
typedef std::map< std::string, AnalysisPtrAnalysisMap
 
typedef std::shared_ptr< AnyExportAnyExportPtr
 
typedef std::map< ExportChannelPtr, AnyExportPtrChannelMap
 
typedef boost::ptr_list< ChannelConfigChannelConfigList
 

Private Member Functions

void add_analyser (const std::string &fn, AnalysisPtr ap)
 
void add_export_fn (std::string const &fn)
 
void add_split_config (FileSpec const &config)
 

Private Attributes

std::vector< std::string > _exported_files
 
Session const & session
 
std::shared_ptr< ExportTimespantimespan
 
ChannelConfigList channel_configs
 
ChannelMap channels
 
samplecnt_t process_buffer_samples
 
std::list< Intermediate * > intermediates
 
AnalysisMap analysis_map
 
bool _realtime
 
samplecnt_t _master_align
 
Glib::ThreadPool thread_pool
 
Glib::Threads::Mutex engine_request_lock
 

Detailed Description

Definition at line 59 of file export_graph_builder.h.

Member Typedef Documentation

◆ AnalysisMap

typedef std::map<std::string, AnalysisPtr> ARDOUR::ExportGraphBuilder::AnalysisMap
private

Definition at line 66 of file export_graph_builder.h.

◆ AnalysisPtr

Definition at line 65 of file export_graph_builder.h.

◆ AnyExportPtr

typedef std::shared_ptr<AnyExport> ARDOUR::ExportGraphBuilder::AnyExportPtr
private

Definition at line 84 of file export_graph_builder.h.

◆ ChannelConfigList

Definition at line 304 of file export_graph_builder.h.

◆ ChannelMap

Definition at line 85 of file export_graph_builder.h.

◆ FileSpec

◆ FloatSinkPtr

Definition at line 64 of file export_graph_builder.h.

Constructor & Destructor Documentation

◆ ExportGraphBuilder()

ARDOUR::ExportGraphBuilder::ExportGraphBuilder ( Session const &  session)

◆ ~ExportGraphBuilder()

ARDOUR::ExportGraphBuilder::~ExportGraphBuilder ( )

Member Function Documentation

◆ add_analyser()

void ARDOUR::ExportGraphBuilder::add_analyser ( const std::string &  fn,
AnalysisPtr  ap 
)
inlineprivate

Definition at line 110 of file export_graph_builder.h.

◆ add_config()

void ARDOUR::ExportGraphBuilder::add_config ( FileSpec const &  config,
bool  rt 
)

◆ add_export_fn()

void ARDOUR::ExportGraphBuilder::add_export_fn ( std::string const &  fn)
inlineprivate

Definition at line 114 of file export_graph_builder.h.

◆ add_split_config()

void ARDOUR::ExportGraphBuilder::add_split_config ( FileSpec const &  config)
private

◆ cleanup()

void ARDOUR::ExportGraphBuilder::cleanup ( bool  remove_out_files = false)

◆ exported_files()

std::vector<std::string> ARDOUR::ExportGraphBuilder::exported_files ( ) const
inline

Definition at line 104 of file export_graph_builder.h.

◆ get_analysis_results()

void ARDOUR::ExportGraphBuilder::get_analysis_results ( AnalysisResults results)

◆ get_postprocessing_cycle_count()

unsigned ARDOUR::ExportGraphBuilder::get_postprocessing_cycle_count ( ) const

◆ need_postprocessing()

bool ARDOUR::ExportGraphBuilder::need_postprocessing ( ) const
inline

Definition at line 94 of file export_graph_builder.h.

◆ post_process()

bool ARDOUR::ExportGraphBuilder::post_process ( )

◆ process()

samplecnt_t ARDOUR::ExportGraphBuilder::process ( samplecnt_t  samples,
bool  last_cycle 
)

◆ realtime()

bool ARDOUR::ExportGraphBuilder::realtime ( ) const
inline

Definition at line 95 of file export_graph_builder.h.

◆ reset()

void ARDOUR::ExportGraphBuilder::reset ( )

◆ set_current_timespan()

void ARDOUR::ExportGraphBuilder::set_current_timespan ( std::shared_ptr< ExportTimespan span)

Member Data Documentation

◆ _exported_files

std::vector<std::string> ARDOUR::ExportGraphBuilder::_exported_files
private

Definition at line 118 of file export_graph_builder.h.

◆ _master_align

samplecnt_t ARDOUR::ExportGraphBuilder::_master_align
private

Definition at line 317 of file export_graph_builder.h.

◆ _realtime

bool ARDOUR::ExportGraphBuilder::_realtime
private

Definition at line 316 of file export_graph_builder.h.

◆ analysis_map

AnalysisMap ARDOUR::ExportGraphBuilder::analysis_map
private

Definition at line 314 of file export_graph_builder.h.

◆ channel_configs

ChannelConfigList ARDOUR::ExportGraphBuilder::channel_configs
private

Definition at line 305 of file export_graph_builder.h.

◆ channels

ChannelMap ARDOUR::ExportGraphBuilder::channels
private

Definition at line 308 of file export_graph_builder.h.

◆ engine_request_lock

Glib::Threads::Mutex ARDOUR::ExportGraphBuilder::engine_request_lock
private

Definition at line 320 of file export_graph_builder.h.

◆ intermediates

std::list<Intermediate *> ARDOUR::ExportGraphBuilder::intermediates
private

Definition at line 312 of file export_graph_builder.h.

◆ process_buffer_samples

samplecnt_t ARDOUR::ExportGraphBuilder::process_buffer_samples
private

Definition at line 310 of file export_graph_builder.h.

◆ session

Session const& ARDOUR::ExportGraphBuilder::session
private

Definition at line 300 of file export_graph_builder.h.

◆ thread_pool

Glib::ThreadPool ARDOUR::ExportGraphBuilder::thread_pool
private

Definition at line 319 of file export_graph_builder.h.

◆ timespan

std::shared_ptr<ExportTimespan> ARDOUR::ExportGraphBuilder::timespan
private

Definition at line 301 of file export_graph_builder.h.


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