summaryrefslogtreecommitdiff
path: root/src/wx/export_dialog.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2017-06-07 20:50:26 +0100
committerCarl Hetherington <cth@carlh.net>2017-06-07 20:50:26 +0100
commit3458d0ec34f08a8eeef9b158f26a476a18548353 (patch)
tree7f0f13eddb5463feb7de9c46d6797f0f56d1e594 /src/wx/export_dialog.cc
parent563ffc8c14b9db24c828c85c6590d0ece9ed19bc (diff)
Basic and untested export option to bounce down to stereo; add encoder test with subs (which fails).
Diffstat (limited to 'src/wx/export_dialog.cc')
-rw-r--r--src/wx/export_dialog.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/wx/export_dialog.cc b/src/wx/export_dialog.cc
index 52aa03c20..712ef4a7e 100644
--- a/src/wx/export_dialog.cc
+++ b/src/wx/export_dialog.cc
@@ -48,6 +48,9 @@ ExportDialog::ExportDialog (wxWindow* parent)
add (_("Format"), true);
_format = new wxChoice (this, wxID_ANY);
add (_format);
+ add_spacer ();
+ _mixdown = new wxCheckBox (this, wxID_ANY, _("Mix audio down to stereo"));
+ add (_mixdown, false);
add (_("Output file"), true);
_file = new FilePickerCtrl (this, _("Select output file"), format_filters[0], false);
add (_file);
@@ -82,3 +85,9 @@ ExportDialog::format () const
DCPOMATIC_ASSERT (_format->GetSelection() >= 0 && _format->GetSelection() < FORMATS);
return formats[_format->GetSelection()];
}
+
+bool
+ExportDialog::mixdown_to_stereo () const
+{
+ return _mixdown->GetValue ();
+}