mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-17 12:16:30 +01:00
Update export format when 'upload to soundcloud' changes.
This commit is contained in:
parent
a3465ff5d3
commit
8b9a1fae6a
4 changed files with 14 additions and 0 deletions
|
|
@ -145,6 +145,7 @@ ExportFormatDialog::ExportFormatDialog (FormatPtr format, bool new_dialog) :
|
||||||
|
|
||||||
with_cue.signal_toggled().connect (sigc::mem_fun (*this, &ExportFormatDialog::update_with_cue));
|
with_cue.signal_toggled().connect (sigc::mem_fun (*this, &ExportFormatDialog::update_with_cue));
|
||||||
with_toc.signal_toggled().connect (sigc::mem_fun (*this, &ExportFormatDialog::update_with_toc));
|
with_toc.signal_toggled().connect (sigc::mem_fun (*this, &ExportFormatDialog::update_with_toc));
|
||||||
|
upload_checkbox.signal_toggled().connect (sigc::mem_fun (*this, &ExportFormatDialog::update_upload));
|
||||||
|
|
||||||
cue_toc_vbox.pack_start (with_cue, false, false);
|
cue_toc_vbox.pack_start (with_cue, false, false);
|
||||||
cue_toc_vbox.pack_start (with_toc, false, false);
|
cue_toc_vbox.pack_start (with_toc, false, false);
|
||||||
|
|
@ -722,6 +723,11 @@ ExportFormatDialog::update_with_toc ()
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
ExportFormatDialog::update_upload ()
|
||||||
|
{
|
||||||
|
manager.select_upload (upload_checkbox.get_active());
|
||||||
|
}
|
||||||
|
|
||||||
ExportFormatDialog::update_description()
|
ExportFormatDialog::update_description()
|
||||||
{
|
{
|
||||||
std::string text = ": " + format->description(false);
|
std::string text = ": " + format->description(false);
|
||||||
|
|
|
||||||
|
|
@ -311,6 +311,7 @@ class ExportFormatDialog : public ArdourDialog, public PBD::ScopedConnectionList
|
||||||
|
|
||||||
void update_with_toc ();
|
void update_with_toc ();
|
||||||
void update_with_cue ();
|
void update_with_cue ();
|
||||||
|
void update_upload ();
|
||||||
|
|
||||||
Gtk::TreeView sample_format_view;
|
Gtk::TreeView sample_format_view;
|
||||||
Gtk::TreeView dither_type_view;
|
Gtk::TreeView dither_type_view;
|
||||||
|
|
|
||||||
|
|
@ -100,6 +100,7 @@ class ExportFormatManager : public PBD::ScopedConnectionList
|
||||||
|
|
||||||
void select_with_cue (bool);
|
void select_with_cue (bool);
|
||||||
void select_with_toc (bool);
|
void select_with_toc (bool);
|
||||||
|
void select_upload (bool);
|
||||||
void select_src_quality (ExportFormatBase::SRCQuality value);
|
void select_src_quality (ExportFormatBase::SRCQuality value);
|
||||||
void select_trim_beginning (bool value);
|
void select_trim_beginning (bool value);
|
||||||
void select_silence_beginning (AnyTime const & time);
|
void select_silence_beginning (AnyTime const & time);
|
||||||
|
|
|
||||||
|
|
@ -294,6 +294,12 @@ ExportFormatManager::select_with_toc (bool value)
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
ExportFormatManager::select_upload (bool value)
|
||||||
|
{
|
||||||
|
current_selection->set_upload (value);
|
||||||
|
check_for_description_change ();
|
||||||
|
}
|
||||||
|
|
||||||
ExportFormatManager::select_trim_beginning (bool value)
|
ExportFormatManager::select_trim_beginning (bool value)
|
||||||
{
|
{
|
||||||
current_selection->set_trim_beginning (value);
|
current_selection->set_trim_beginning (value);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue