fix for edit & mix group names getting lost at session load
[ardour.git] / libs / ardour / ardour / sndfile_helpers.h
index 5bb4937410b4071dfa3d80ea536fcdf1e467580b..b5cdeb0a7e8652aed39ffab4c7f02e8ede9ea6c6 100644 (file)
@@ -2,7 +2,7 @@
 #define __sndfile_helpers_h__
 
 #include <string>
-#include <sndfile.h>
+#include <stdint.h>
 
 using std::string;
 
@@ -11,6 +11,7 @@ using std::string;
 
 #define SNDFILE_HEADER_FORMATS 7
 extern const char * const sndfile_header_formats_strings[SNDFILE_HEADER_FORMATS+1];
+extern const char * const sndfile_file_endings_strings[SNDFILE_HEADER_FORMATS+1];
 
 extern int sndfile_header_formats[SNDFILE_HEADER_FORMATS];
 
@@ -27,6 +28,7 @@ extern int sndfile_endian_formats[SNDFILE_ENDIAN_FORMATS];
 int sndfile_bitdepth_format_from_string(string);
 int sndfile_header_format_from_string(string);
 int sndfile_endian_format_from_string(string);
+string sndfile_file_ending_from_string(string);
 
 int sndfile_data_width (int format);