fixes for various bugs including dangling ref to route in session, opening sessions...
[ardour.git] / libs / ardour / sndfile_helpers.cc
index 21d8c72b2b6ec28fc7f83dcdbfa3c6b4e41a86a4..b308a74c36cf6ff93f63a540042a2a605822eda7 100644 (file)
@@ -1,6 +1,8 @@
 #include <map>
 #include <vector>
 
+#include <pbd/convert.h>
+
 #include <sndfile.h>
 #include <ardour/sndfile_helpers.h>
 
@@ -108,7 +110,7 @@ sndfile_file_ending_from_string (string str)
        static vector<string> file_endings;
 
        if (file_endings.empty()) {
-               file_endings = internationalize((const char **) sndfile_file_endings_strings);
+               file_endings = PBD::internationalize((const char **) sndfile_file_endings_strings);
        }
 
        for (int n = 0; sndfile_header_formats_strings[n]; ++n) {
@@ -191,3 +193,4 @@ sndfile_minor_format(int format)
                return "-Unknown-";
        }
 }
+