Optimize automation-event process splitting
[ardour.git] / libs / ardour / ardour / sndfile_helpers.h
index ed84820b8ded93fdb084fb7ff1dbbd1e583f1fba..1d11375fa639c316cc72b3d29df48ae7e28991c7 100644 (file)
@@ -23,6 +23,8 @@
 #include <string>
 #include <stdint.h>
 
+#include "ardour/types.h"
+
 // Use this define when initializing arrarys for use in sndfile_*_format()
 #define SNDFILE_STR_LENGTH 32
 
@@ -42,10 +44,9 @@ extern const char * const sndfile_endian_formats_strings[SNDFILE_ENDIAN_FORMATS+
 
 extern int sndfile_endian_formats[SNDFILE_ENDIAN_FORMATS];
 
-int sndfile_bitdepth_format_from_string (std::string);
-int sndfile_header_format_from_string (std::string);
-int sndfile_endian_format_from_string (std::string);
-std::string sndfile_file_ending_from_string (std::string);
+int sndfile_bitdepth_format_by_index (int);
+int sndfile_header_format_by_index (int);
+int sndfile_endian_format_by_index (int);
 
 int sndfile_data_width (int format);