#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
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);