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:
parent
8222f62216
commit
91f6efcbe9
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user