13
0

Use SessionDirectory instead of Session::sound_dir in Session::audio_path_from_name

git-svn-id: svn://localhost/ardour2/trunk@1969 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Tim Mayberry 2007-06-07 03:24:12 +00:00
parent 8222f62216
commit 91f6efcbe9

View File

@ -2911,9 +2911,9 @@ Session::audio_path_from_name (string name, uint32_t nchan, uint32_t chan, bool
for (i = session_dirs.begin(); i != session_dirs.end(); ++i) {
spath = (*i).path;
SessionDirectory sdir((*i).path);
spath += sound_dir (false);
spath = sdir.sound_path().to_string();
if (destructive) {
if (nchan < 2) {