Add warning if export truncates the channel-count

This commit is contained in:
Robin Gareus 2020-05-31 19:37:47 +02:00
parent 82d7d85192
commit c1b72a289f
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
3 changed files with 33 additions and 0 deletions

View file

@ -274,6 +274,11 @@ ExportDialog::update_warnings_and_example_filename ()
add_warning (*it);
}
/* add channel count warning */
if (channel_selector && channel_selector->channel_limit_reached ()) {
add_warning (_("A track or bus has more channels than the target."));
}
if (!warnings->conflicting_filenames.empty()) {
list_files_hbox.show ();
for (std::list<string>::iterator it = warnings->conflicting_filenames.begin(); it != warnings->conflicting_filenames.end(); ++it) {