projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8222f62
)
Use SessionDirectory instead of Session::sound_dir in Session::audio_path_from_name
author
Tim Mayberry
<mojofunk@gmail.com>
Thu, 7 Jun 2007 03:24:12 +0000
(
03:24
+0000)
committer
Tim Mayberry
<mojofunk@gmail.com>
Thu, 7 Jun 2007 03:24:12 +0000
(
03:24
+0000)
git-svn-id: svn://localhost/ardour2/trunk@1969
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
libs/ardour/session.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/session.cc
b/libs/ardour/session.cc
index 42f0f3b7f2c7ca3110eb030551ff71dae3129183..ed1947451be3ac4a52c7b0ba7d97e5ae41813e4b 100644
(file)
--- 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) {