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

Public Member Functions

template<typename T >
boost::shared_ptr
< AudioGrapher::Sink< T > > 
init (FileSpec const &new_config)
 
void add_child (FileSpec const &new_config)
 
bool operator== (FileSpec const &other_config) const
 
template<>
boost::shared_ptr
< AudioGrapher::Sink< Sample > > 
init (FileSpec const &new_config)
 
template<>
boost::shared_ptr
< AudioGrapher::Sink< int > > 
init (FileSpec const &new_config)
 
template<>
boost::shared_ptr
< AudioGrapher::Sink< short > > 
init (FileSpec const &new_config)
 

Static Public Member Functions

static int get_real_format (FileSpec const &config)
 

Private Types

typedef boost::shared_ptr
< AudioGrapher::SndfileWriter
< Sample > > 
FloatWriterPtr
 
typedef boost::shared_ptr
< AudioGrapher::SndfileWriter
< int > > 
IntWriterPtr
 
typedef boost::shared_ptr
< AudioGrapher::SndfileWriter
< short > > 
ShortWriterPtr
 

Private Member Functions

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

Private Attributes

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

Detailed Description

Definition at line 78 of file export_graph_builder.h.

Member Typedef Documentation

Definition at line 87 of file export_graph_builder.h.

Definition at line 88 of file export_graph_builder.h.

Definition at line 89 of file export_graph_builder.h.

Member Function Documentation

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

Definition at line 209 of file export_graph_builder.cc.

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

Definition at line 241 of file export_graph_builder.cc.

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

Definition at line 221 of file export_graph_builder.cc.

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

Definition at line 183 of file export_graph_builder.cc.

template<>
boost::shared_ptr<AudioGrapher::Sink<int> > ARDOUR::ExportGraphBuilder::Encoder::init ( FileSpec const &  new_config)

Definition at line 192 of file export_graph_builder.cc.

template<>
boost::shared_ptr<AudioGrapher::Sink<short> > ARDOUR::ExportGraphBuilder::Encoder::init ( FileSpec const &  new_config)

Definition at line 201 of file export_graph_builder.cc.

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

Definition at line 229 of file export_graph_builder.cc.

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

Definition at line 215 of file export_graph_builder.cc.

Member Data Documentation

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

Definition at line 94 of file export_graph_builder.h.

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

Definition at line 96 of file export_graph_builder.h.

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

Definition at line 95 of file export_graph_builder.h.

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

Definition at line 99 of file export_graph_builder.h.

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

Definition at line 100 of file export_graph_builder.h.

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

Definition at line 101 of file export_graph_builder.h.


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