Only list tracks with audio-ports when exporting audio files

This commit is contained in:
Robin Gareus 2022-05-15 20:23:45 +02:00
parent d513d8b876
commit 8a927cc522
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
1 changed files with 3 additions and 1 deletions

View File

@ -139,7 +139,9 @@ PortExportChannelSelector::fill_route_list ()
if ((*it)->is_master () || (*it)->is_monitor ()) {
continue;
}
channel_view.add_route ((*it)->output().get());
if ((*it)->output()->n_ports ().n_audio () > 0) {
channel_view.add_route ((*it)->output().get());
}
}
update_channel_count ();