From 91f6efcbe94434af04b88f5daaa72f53c7626667 Mon Sep 17 00:00:00 2001 From: Tim Mayberry Date: Thu, 7 Jun 2007 03:24:12 +0000 Subject: [PATCH] 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 --- libs/ardour/session.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc index 42f0f3b7f2..ed1947451b 100644 --- a/libs/ardour/session.cc +++ b/libs/ardour/session.cc @@ -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) {