13
0

Patch from antgel to fix resampling of sessions with no

automation/ directory (#4888).


git-svn-id: svn://localhost/ardour2/branches/3.0@12454 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2012-05-27 15:45:36 +00:00
parent d7a32eb85e
commit 67953dc93b

View File

@ -99,6 +99,7 @@ while ( my $file=readdir(DOT_ARDOUR) ) {
}
close(DOT_ARDOUR);
if ( -d $sourceDirectory."/automation/") {
# Read the names of all automation files in /automation/
opendir(AUTOMATION,$sourceDirectory."/automation/") || die ($sourceDirectory."/automation: could not open!");
while ( my $file=readdir(AUTOMATION) ) {
@ -108,6 +109,7 @@ while ( my $file=readdir(AUTOMATION) ) {
}
}
close(AUTOMATION);
}
# Check for /peaks/
if ( ! -d $sourceDirectory."/peaks" ) {