mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
GUI option to configure export noise watermark
This was inspired by Andy76 (item 24) at http://mixbus.harrisonconsoles.com/forum/thread-8935-post-49751.html
This commit is contained in:
parent
f89e72d86d
commit
f8162339cf
2 changed files with 138 additions and 1 deletions
|
|
@ -146,11 +146,16 @@ private:
|
|||
void update_clock (AudioClock & clock, ARDOUR::AnyTime const & time);
|
||||
void update_time (ARDOUR::AnyTime & time, AudioClock const & clock);
|
||||
|
||||
/* SRC, codec, etc */
|
||||
|
||||
void update_src_quality_selection ();
|
||||
void update_codec_quality_selection ();
|
||||
void update_tagging_selection ();
|
||||
void set_codec_quality_selection ();
|
||||
|
||||
void update_demo_noise_selection ();
|
||||
void update_demo_noise_sensitivity ();
|
||||
|
||||
/*** Encoding options */
|
||||
|
||||
void change_encoding_options (ARDOUR::ExportFormatPtr ptr);
|
||||
|
|
@ -292,6 +297,36 @@ private:
|
|||
Gtk::Label src_quality_label;
|
||||
Gtk::ComboBox src_quality_combo;
|
||||
|
||||
/* Watermark */
|
||||
|
||||
struct DemoNoiseCols : public Gtk::TreeModelColumnRecord
|
||||
{
|
||||
public:
|
||||
Gtk::TreeModelColumn<std::string> label;
|
||||
Gtk::TreeModelColumn<int> interval;
|
||||
Gtk::TreeModelColumn<int> duration;
|
||||
|
||||
DemoNoiseCols () {
|
||||
add(label);
|
||||
add(interval);
|
||||
add(duration);
|
||||
}
|
||||
};
|
||||
|
||||
DemoNoiseCols demo_noise_cols;
|
||||
Glib::RefPtr<Gtk::ListStore> demo_noise_list;
|
||||
|
||||
Gtk::Table watermark_options_table;
|
||||
|
||||
Gtk::Label watermark_heading;
|
||||
Gtk::Label demo_noise_mode_label;
|
||||
Gtk::Label demo_noise_level_label;
|
||||
Gtk::Label demo_noise_dbfs_unit;
|
||||
|
||||
Gtk::ComboBox demo_noise_combo;
|
||||
Gtk::Adjustment demo_noise_dbfs_adjustment;
|
||||
Gtk::SpinButton demo_noise_dbfs_spinbutton;
|
||||
|
||||
/* Common encoding option components */
|
||||
|
||||
Gtk::VBox encoding_options_vbox;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue