From 8a927cc5226ee9c880130a30d0c55564ae0e165c Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sun, 15 May 2022 20:23:45 +0200 Subject: [PATCH] Only list tracks with audio-ports when exporting audio files --- gtk2_ardour/export_channel_selector.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gtk2_ardour/export_channel_selector.cc b/gtk2_ardour/export_channel_selector.cc index 8f58be4ca3..f45839ba99 100644 --- a/gtk2_ardour/export_channel_selector.cc +++ b/gtk2_ardour/export_channel_selector.cc @@ -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 ();