From 81fc3532eadf10add1ab376bce7d63b4132208bb Mon Sep 17 00:00:00 2001 From: GZharun Date: Sun, 8 Feb 2015 18:50:29 +0200 Subject: [PATCH] [Summary] Per Igor's request fixed up region channel config label when there is no source file. --- gtk2_ardour/audio_region_view.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gtk2_ardour/audio_region_view.cc b/gtk2_ardour/audio_region_view.cc index 01bae46150..2b9f7e31ff 100644 --- a/gtk2_ardour/audio_region_view.cc +++ b/gtk2_ardour/audio_region_view.cc @@ -373,6 +373,9 @@ AudioRegionView::update_ioconfig_label () std::string label; switch (chan_count ) { + case 0: + label = "N/A"; + break; case 1: label = "M"; break;