diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-07-22 02:27:06 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-07-22 02:27:06 +0000 |
commit | a1bbbcb41b520c24b4e568eec0b0abcea6aee9ef (patch) | |
tree | d19b6059b4bbd962a2fb0344c6e55c78e2e27e57 /libs/ardour/session_state.cc | |
parent | 448eb1acddbb4ac215f6b9ef4667b0befbe173a4 (diff) |
first part of using appropriate .ext extensions for the current chosen native file header format
git-svn-id: svn://localhost/ardour2/branches/3.0@7468 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/session_state.cc')
-rw-r--r-- | libs/ardour/session_state.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/session_state.cc b/libs/ardour/session_state.cc index 9e4d2f281a..6c6da8702d 100644 --- a/libs/ardour/session_state.cc +++ b/libs/ardour/session_state.cc @@ -1832,7 +1832,7 @@ Session::path_from_region_name (DataType type, string name, string identifier) sys::path source_dir = ((type == DataType::AUDIO) ? sdir.sound_path() : sdir.midi_path()); - string ext = ((type == DataType::AUDIO) ? ".wav" : ".mid"); + string ext = native_header_format_extension (config.get_native_file_header_format(), type); for (n = 0; n < 999999; ++n) { if (identifier.length()) { |