Fix audio recording. Better fix needed though.
git-svn-id: svn://localhost/ardour2/branches/3.0@3605 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
@@ -543,6 +543,17 @@ AudioFileSource::find (ustring& pathstr, bool must_exist, bool& isnew, uint16_t&
|
||||
}
|
||||
}
|
||||
|
||||
/* Current find() is unable to parse relative path names to yet non-existant
|
||||
sources. QuickFix(tm) */
|
||||
if (keeppath == "") {
|
||||
if (must_exist) {
|
||||
error << "AudioFileSource::find(), keeppath = \"\", but the file must exist" << endl;
|
||||
} else {
|
||||
keeppath = pathstr;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
_name = pathstr;
|
||||
_path = keeppath;
|
||||
ret = true;
|
||||
|
||||
Reference in New Issue
Block a user