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

Public Member Functions

 ~Encoder ()
 
template<typename T >
std::shared_ptr< AudioGrapher::Sink< T > > init (FileSpec const &new_config)
 
void add_child (FileSpec const &new_config)
 
void remove_children ()
 
void destroy_writer (bool delete_out_file)
 
bool operator== (FileSpec const &other_config) const
 

Static Public Member Functions

static int get_real_format (FileSpec const &config)
 

Private Types

typedef std::shared_ptr< AudioGrapher::SndfileWriter< Sample > > FloatWriterPtr
 
typedef std::shared_ptr< AudioGrapher::SndfileWriter< int > > IntWriterPtr
 
typedef std::shared_ptr< AudioGrapher::SndfileWriter< short > > ShortWriterPtr
 
typedef std::shared_ptr< AudioGrapher::CmdPipeWriter< Sample > > FloatPipePtr
 

Private Member Functions

template<typename T >
void init_writer (std::shared_ptr< AudioGrapher::SndfileWriter< T > > &writer)
 
template<typename T >
void init_writer (std::shared_ptr< AudioGrapher::CmdPipeWriter< T > > &writer)
 
void copy_files (std::string orig_path)
 

Private Attributes

FileSpec config
 
std::list< ExportFilenamePtrfilenames
 
PBD::ScopedConnection copy_files_connection
 
std::string writer_filename
 
FloatWriterPtr float_writer
 
IntWriterPtr int_writer
 
ShortWriterPtr short_writer
 
FloatPipePtr pipe_writer
 

Detailed Description

Definition at line 122 of file export_graph_builder.h.

Member Typedef Documentation

◆ FloatPipePtr

◆ FloatWriterPtr

◆ IntWriterPtr

Definition at line 135 of file export_graph_builder.h.

◆ ShortWriterPtr

Definition at line 136 of file export_graph_builder.h.

Constructor & Destructor Documentation

◆ ~Encoder()

ARDOUR::ExportGraphBuilder::Encoder::~Encoder ( )

Member Function Documentation

◆ add_child()

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

◆ copy_files()

void ARDOUR::ExportGraphBuilder::Encoder::copy_files ( std::string  orig_path)
private

◆ destroy_writer()

void ARDOUR::ExportGraphBuilder::Encoder::destroy_writer ( bool  delete_out_file)

◆ get_real_format()

static int ARDOUR::ExportGraphBuilder::Encoder::get_real_format ( FileSpec const &  config)
static

◆ init()

template<typename T >
std::shared_ptr<AudioGrapher::Sink<T> > ARDOUR::ExportGraphBuilder::Encoder::init ( FileSpec const &  new_config)

◆ init_writer() [1/2]

template<typename T >
void ARDOUR::ExportGraphBuilder::Encoder::init_writer ( std::shared_ptr< AudioGrapher::CmdPipeWriter< T > > &  writer)
private

◆ init_writer() [2/2]

template<typename T >
void ARDOUR::ExportGraphBuilder::Encoder::init_writer ( std::shared_ptr< AudioGrapher::SndfileWriter< T > > &  writer)
private

◆ operator==()

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

◆ remove_children()

void ARDOUR::ExportGraphBuilder::Encoder::remove_children ( )

Member Data Documentation

◆ config

FileSpec ARDOUR::ExportGraphBuilder::Encoder::config
private

Definition at line 145 of file export_graph_builder.h.

◆ copy_files_connection

PBD::ScopedConnection ARDOUR::ExportGraphBuilder::Encoder::copy_files_connection
private

Definition at line 147 of file export_graph_builder.h.

◆ filenames

std::list<ExportFilenamePtr> ARDOUR::ExportGraphBuilder::Encoder::filenames
private

Definition at line 146 of file export_graph_builder.h.

◆ float_writer

FloatWriterPtr ARDOUR::ExportGraphBuilder::Encoder::float_writer
private

Definition at line 152 of file export_graph_builder.h.

◆ int_writer

IntWriterPtr ARDOUR::ExportGraphBuilder::Encoder::int_writer
private

Definition at line 153 of file export_graph_builder.h.

◆ pipe_writer

FloatPipePtr ARDOUR::ExportGraphBuilder::Encoder::pipe_writer
private

Definition at line 155 of file export_graph_builder.h.

◆ short_writer

ShortWriterPtr ARDOUR::ExportGraphBuilder::Encoder::short_writer
private

Definition at line 154 of file export_graph_builder.h.

◆ writer_filename

std::string ARDOUR::ExportGraphBuilder::Encoder::writer_filename
private

Definition at line 149 of file export_graph_builder.h.


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