NO-OP: whitespace and comment

This commit is contained in:
Robin Gareus 2022-12-06 17:30:59 +01:00
parent 89d8dc26dd
commit 32b6db092c
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04

View file

@ -429,11 +429,12 @@ ExportFormatDialog::load_state (FormatPtr spec)
for (Gtk::ListStore::Children::iterator it = format_list->children ().begin (); it != format_list->children ().end (); ++it) {
boost::shared_ptr<ARDOUR::ExportFormat> format_in_list = it->get_value (format_cols.ptr);
/* see also ExportFormatManager::change_format_selection */
if (format_in_list->get_format_id () == spec->format_id () &&
// BWF has the same format id with wav, so we need to check this.
format_in_list->has_broadcast_info () == spec->has_broadcast_info () &&
// Ogg can be Vorbis or OPUS
(format_in_list->get_format_id () != ExportFormatBase::F_Ogg || (spec->sample_format () == format_in_list->get_explicit_sample_format ()))
(format_in_list->get_format_id () != ExportFormatBase::F_Ogg || (spec->sample_format () == format_in_list->get_explicit_sample_format ()))
) {
format_in_list->set_selected (true);
break;