From d5209cb4bfb1a3ee41ffb45ec0ead71a540f19d1 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 23 Jul 2013 11:28:45 -0400 Subject: fix #5609 (import with 1 track per channel mis-associates tracks + channels) when using ImportDistinctChannels, correctly name regions so that playlists for each channel/track are also named differently, and thus reloaded properly when the session is reloaded. --- gtk2_ardour/sfdb_ui.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gtk2_ardour/sfdb_ui.cc') diff --git a/gtk2_ardour/sfdb_ui.cc b/gtk2_ardour/sfdb_ui.cc index e8db9d4939..986ed7f985 100644 --- a/gtk2_ardour/sfdb_ui.cc +++ b/gtk2_ardour/sfdb_ui.cc @@ -342,7 +342,8 @@ SoundFileBox::audition () try { afs = boost::dynamic_pointer_cast ( SourceFactory::createExternal (DataType::AUDIO, *_session, - path, n, Source::Flag (0), false)); + path, n, + Source::Flag (0), false)); srclist.push_back(afs); -- cgit v1.2.3