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

#include <export_format_manager.h>

Inheritance diagram for ARDOUR::ExportFormatManager:
[legend]

Classes

class  QualityState
 
class  SampleRateState
 

Public Types

typedef std::list< ExportFormatCompatibilityPtrCompatList
 
typedef std::list< ExportFormatPtrFormatList
 
typedef HasSampleFormat::SampleFormatPtr SampleFormatPtr
 
typedef HasSampleFormat::SampleFormatList SampleFormatList
 
typedef HasSampleFormat::WeakSampleFormatPtr WeakSampleFormatPtr
 
typedef HasSampleFormat::DitherTypePtr DitherTypePtr
 
typedef HasSampleFormat::WeakDitherTypePtr WeakDitherTypePtr
 
typedef std::shared_ptr< QualityStateQualityPtr
 
typedef std::weak_ptr< QualityStateWeakQualityPtr
 
typedef std::list< QualityPtrQualityList
 
typedef std::shared_ptr< SampleRateStateSampleRatePtr
 
typedef std::weak_ptr< SampleRateStateWeakSampleRatePtr
 
typedef std::list< SampleRatePtrSampleRateList
 

Public Member Functions

 ExportFormatManager (ExportFormatSpecPtr specification)
 
 ~ExportFormatManager ()
 
CompatList const & get_compatibilities ()
 
QualityList const & get_qualities ()
 
FormatList const & get_formats ()
 
SampleRateList const & get_sample_rates ()
 
void set_name (std::string name)
 
void select_with_cue (bool)
 
void select_with_toc (bool)
 
void select_with_mp4chaps (bool)
 
void select_upload (bool)
 
void set_command (std::string)
 
void select_src_quality (ExportFormatBase::SRCQuality value)
 
void select_codec_quality (int)
 
void select_trim_beginning (bool value)
 
void select_silence_beginning (AnyTime const &time)
 
void select_trim_end (bool value)
 
void select_silence_end (AnyTime const &time)
 
void select_normalize (bool value)
 
void select_normalize_loudness (bool value)
 
void select_tp_limiter (bool value)
 
void select_normalize_dbfs (float value)
 
void select_normalize_lufs (float value)
 
void select_normalize_dbtp (float value)
 
void select_tagging (bool tag)
 
void select_demo_noise_level (float value)
 
void select_demo_noise_duration (int value)
 
void select_demo_noise_interval (int value)
 
- Public Member Functions inherited from PBD::ScopedConnectionList
 ScopedConnectionList ()
 
 ScopedConnectionList (const ScopedConnectionList &)=delete
 
ScopedConnectionListoperator= (const ScopedConnectionList &)=delete
 
virtual ~ScopedConnectionList ()
 
void add_connection (const UnscopedConnection &c)
 
void drop_connections ()
 

Public Attributes

PBD::Signal< void(bool)> CompleteChanged
 
PBD::Signal< void()> DescriptionChanged
 

Private Member Functions

void init_compatibilities ()
 
void init_qualities ()
 
void init_formats ()
 
void init_sample_rates ()
 
void add_compatibility (ExportFormatCompatibilityPtr ptr)
 
void add_quality (QualityPtr ptr)
 
void add_format (ExportFormatPtr ptr)
 
void add_sample_rate (SampleRatePtr ptr)
 
void change_compatibility_selection (bool select, WeakExportFormatCompatibilityPtr const &compat)
 
void change_quality_selection (bool select, WeakQualityPtr const &quality)
 
void change_format_selection (bool select, WeakExportFormatPtr const &format)
 
void change_sample_rate_selection (bool select, WeakSampleRatePtr const &rate)
 
void change_sample_format_selection (bool select, WeakSampleFormatPtr const &format)
 
void change_dither_type_selection (bool select, WeakDitherTypePtr const &type)
 
void select_compatibility (WeakExportFormatCompatibilityPtr const &compat)
 
void select_quality (QualityPtr const &quality)
 
void select_format (ExportFormatPtr const &format)
 
void select_sample_rate (SampleRatePtr const &rate)
 
void select_sample_format (SampleFormatPtr const &format)
 
void select_dither_type (DitherTypePtr const &type)
 
void selection_changed ()
 
void check_for_description_change ()
 
QualityPtr get_selected_quality ()
 
ExportFormatPtr get_selected_format ()
 
SampleRatePtr get_selected_sample_rate ()
 
SampleFormatPtr get_selected_sample_format ()
 
ExportFormatBasePtr get_compatibility_intersection ()
 

Private Attributes

bool pending_selection_change
 
ExportFormatBasePtr universal_set
 
ExportFormatSpecPtr current_selection
 
CompatList compatibilities
 
QualityList qualities
 
FormatList formats
 
SampleRateList sample_rates
 
std::string prev_description
 

Detailed Description

Definition at line 42 of file export_format_manager.h.

Member Typedef Documentation

◆ CompatList

◆ DitherTypePtr

◆ FormatList

◆ QualityList

Definition at line 66 of file export_format_manager.h.

◆ QualityPtr

Definition at line 64 of file export_format_manager.h.

◆ SampleFormatList

◆ SampleFormatPtr

◆ SampleRateList

◆ SampleRatePtr

Definition at line 76 of file export_format_manager.h.

◆ WeakDitherTypePtr

◆ WeakQualityPtr

Definition at line 65 of file export_format_manager.h.

◆ WeakSampleFormatPtr

◆ WeakSampleRatePtr

Constructor & Destructor Documentation

◆ ExportFormatManager()

ARDOUR::ExportFormatManager::ExportFormatManager ( ExportFormatSpecPtr  specification)
explicit

◆ ~ExportFormatManager()

ARDOUR::ExportFormatManager::~ExportFormatManager ( )

Member Function Documentation

◆ add_compatibility()

void ARDOUR::ExportFormatManager::add_compatibility ( ExportFormatCompatibilityPtr  ptr)
private

◆ add_format()

void ARDOUR::ExportFormatManager::add_format ( ExportFormatPtr  ptr)
private

◆ add_quality()

void ARDOUR::ExportFormatManager::add_quality ( QualityPtr  ptr)
private

◆ add_sample_rate()

void ARDOUR::ExportFormatManager::add_sample_rate ( SampleRatePtr  ptr)
private

◆ change_compatibility_selection()

void ARDOUR::ExportFormatManager::change_compatibility_selection ( bool  select,
WeakExportFormatCompatibilityPtr const &  compat 
)
private

◆ change_dither_type_selection()

void ARDOUR::ExportFormatManager::change_dither_type_selection ( bool  select,
WeakDitherTypePtr const &  type 
)
private

◆ change_format_selection()

void ARDOUR::ExportFormatManager::change_format_selection ( bool  select,
WeakExportFormatPtr const &  format 
)
private

◆ change_quality_selection()

void ARDOUR::ExportFormatManager::change_quality_selection ( bool  select,
WeakQualityPtr const &  quality 
)
private

◆ change_sample_format_selection()

void ARDOUR::ExportFormatManager::change_sample_format_selection ( bool  select,
WeakSampleFormatPtr const &  format 
)
private

◆ change_sample_rate_selection()

void ARDOUR::ExportFormatManager::change_sample_rate_selection ( bool  select,
WeakSampleRatePtr const &  rate 
)
private

◆ check_for_description_change()

void ARDOUR::ExportFormatManager::check_for_description_change ( )
private

◆ get_compatibilities()

CompatList const& ARDOUR::ExportFormatManager::get_compatibilities ( )
inline

Definition at line 92 of file export_format_manager.h.

◆ get_compatibility_intersection()

ExportFormatBasePtr ARDOUR::ExportFormatManager::get_compatibility_intersection ( )
private

◆ get_formats()

FormatList const& ARDOUR::ExportFormatManager::get_formats ( )
inline

Definition at line 94 of file export_format_manager.h.

◆ get_qualities()

QualityList const& ARDOUR::ExportFormatManager::get_qualities ( )
inline

Definition at line 93 of file export_format_manager.h.

◆ get_sample_rates()

SampleRateList const& ARDOUR::ExportFormatManager::get_sample_rates ( )
inline

Definition at line 95 of file export_format_manager.h.

◆ get_selected_format()

ExportFormatPtr ARDOUR::ExportFormatManager::get_selected_format ( )
private

◆ get_selected_quality()

QualityPtr ARDOUR::ExportFormatManager::get_selected_quality ( )
private

◆ get_selected_sample_format()

SampleFormatPtr ARDOUR::ExportFormatManager::get_selected_sample_format ( )
private

◆ get_selected_sample_rate()

SampleRatePtr ARDOUR::ExportFormatManager::get_selected_sample_rate ( )
private

◆ init_compatibilities()

void ARDOUR::ExportFormatManager::init_compatibilities ( )
private

◆ init_formats()

void ARDOUR::ExportFormatManager::init_formats ( )
private

◆ init_qualities()

void ARDOUR::ExportFormatManager::init_qualities ( )
private

◆ init_sample_rates()

void ARDOUR::ExportFormatManager::init_sample_rates ( )
private

◆ select_codec_quality()

void ARDOUR::ExportFormatManager::select_codec_quality ( int  )

◆ select_compatibility()

void ARDOUR::ExportFormatManager::select_compatibility ( WeakExportFormatCompatibilityPtr const &  compat)
private

◆ select_demo_noise_duration()

void ARDOUR::ExportFormatManager::select_demo_noise_duration ( int  value)

◆ select_demo_noise_interval()

void ARDOUR::ExportFormatManager::select_demo_noise_interval ( int  value)

◆ select_demo_noise_level()

void ARDOUR::ExportFormatManager::select_demo_noise_level ( float  value)

◆ select_dither_type()

void ARDOUR::ExportFormatManager::select_dither_type ( DitherTypePtr const &  type)
private

◆ select_format()

void ARDOUR::ExportFormatManager::select_format ( ExportFormatPtr const &  format)
private

◆ select_normalize()

void ARDOUR::ExportFormatManager::select_normalize ( bool  value)

◆ select_normalize_dbfs()

void ARDOUR::ExportFormatManager::select_normalize_dbfs ( float  value)

◆ select_normalize_dbtp()

void ARDOUR::ExportFormatManager::select_normalize_dbtp ( float  value)

◆ select_normalize_loudness()

void ARDOUR::ExportFormatManager::select_normalize_loudness ( bool  value)

◆ select_normalize_lufs()

void ARDOUR::ExportFormatManager::select_normalize_lufs ( float  value)

◆ select_quality()

void ARDOUR::ExportFormatManager::select_quality ( QualityPtr const &  quality)
private

◆ select_sample_format()

void ARDOUR::ExportFormatManager::select_sample_format ( SampleFormatPtr const &  format)
private

◆ select_sample_rate()

void ARDOUR::ExportFormatManager::select_sample_rate ( SampleRatePtr const &  rate)
private

◆ select_silence_beginning()

void ARDOUR::ExportFormatManager::select_silence_beginning ( AnyTime const &  time)

◆ select_silence_end()

void ARDOUR::ExportFormatManager::select_silence_end ( AnyTime const &  time)

◆ select_src_quality()

void ARDOUR::ExportFormatManager::select_src_quality ( ExportFormatBase::SRCQuality  value)

◆ select_tagging()

void ARDOUR::ExportFormatManager::select_tagging ( bool  tag)

◆ select_tp_limiter()

void ARDOUR::ExportFormatManager::select_tp_limiter ( bool  value)

◆ select_trim_beginning()

void ARDOUR::ExportFormatManager::select_trim_beginning ( bool  value)

◆ select_trim_end()

void ARDOUR::ExportFormatManager::select_trim_end ( bool  value)

◆ select_upload()

void ARDOUR::ExportFormatManager::select_upload ( bool  )

◆ select_with_cue()

void ARDOUR::ExportFormatManager::select_with_cue ( bool  )

◆ select_with_mp4chaps()

void ARDOUR::ExportFormatManager::select_with_mp4chaps ( bool  )

◆ select_with_toc()

void ARDOUR::ExportFormatManager::select_with_toc ( bool  )

◆ selection_changed()

void ARDOUR::ExportFormatManager::selection_changed ( )
private

◆ set_command()

void ARDOUR::ExportFormatManager::set_command ( std::string  )

◆ set_name()

void ARDOUR::ExportFormatManager::set_name ( std::string  name)

Member Data Documentation

◆ compatibilities

CompatList ARDOUR::ExportFormatManager::compatibilities
private

Definition at line 172 of file export_format_manager.h.

◆ CompleteChanged

PBD::Signal<void(bool)> ARDOUR::ExportFormatManager::CompleteChanged

Definition at line 87 of file export_format_manager.h.

◆ current_selection

ExportFormatSpecPtr ARDOUR::ExportFormatManager::current_selection
private

Definition at line 170 of file export_format_manager.h.

◆ DescriptionChanged

PBD::Signal<void()> ARDOUR::ExportFormatManager::DescriptionChanged

Definition at line 88 of file export_format_manager.h.

◆ formats

FormatList ARDOUR::ExportFormatManager::formats
private

Definition at line 174 of file export_format_manager.h.

◆ pending_selection_change

bool ARDOUR::ExportFormatManager::pending_selection_change
private

Definition at line 155 of file export_format_manager.h.

◆ prev_description

std::string ARDOUR::ExportFormatManager::prev_description
private

Definition at line 177 of file export_format_manager.h.

◆ qualities

QualityList ARDOUR::ExportFormatManager::qualities
private

Definition at line 173 of file export_format_manager.h.

◆ sample_rates

SampleRateList ARDOUR::ExportFormatManager::sample_rates
private

Definition at line 175 of file export_format_manager.h.

◆ universal_set

ExportFormatBasePtr ARDOUR::ExportFormatManager::universal_set
private

Definition at line 169 of file export_format_manager.h.


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