summaryrefslogtreecommitdiff
path: root/libs/ardour/session_state.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-06-06 15:39:56 +0000
committerDavid Robillard <d@drobilla.net>2007-06-06 15:39:56 +0000
commitca40990444b09d1de532c572793ab702840714f7 (patch)
tree2d25d3c61bcdfe9ae6455df90e27884d9e2f0659 /libs/ardour/session_state.cc
parent3718a85c293dff77248ab1613e9cedc3c9c6e1c7 (diff)
Fix MIDI session path problems (thanks timbyr).
Fix conversion warnings in smf_source.cc. git-svn-id: svn://localhost/ardour2/trunk@1957 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/session_state.cc')
-rw-r--r--libs/ardour/session_state.cc27
1 files changed, 0 insertions, 27 deletions
diff --git a/libs/ardour/session_state.cc b/libs/ardour/session_state.cc
index 7f53f9c5b1..285e3fd4c4 100644
--- a/libs/ardour/session_state.cc
+++ b/libs/ardour/session_state.cc
@@ -2037,33 +2037,6 @@ Session::sound_dir (bool with_path) const
}
string
-Session::midi_dir (bool with_path) const
-{
- string res;
- string full;
-
- if (with_path) {
- res = _path;
- } else {
- full = _path;
- }
-
- res += interchange_dir_name;
- res += '/';
- res += legalize_for_path (_name);
- res += '/';
- res += midi_dir_name;
-
- if (with_path) {
- full = res;
- } else {
- full += res;
- }
-
- return res;
-}
-
-string
Session::peak_dir () const
{
string res = _path;