From 63a1b56560df7f56c8d25c93d0ffeb30997e9325 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 6 Feb 2015 10:19:58 -0500 Subject: fix (and comment) on subtle bug with audio file data width function --- libs/ardour/ardour/sndfile_helpers.h | 1 - libs/ardour/ardour/types.h | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'libs/ardour/ardour') diff --git a/libs/ardour/ardour/sndfile_helpers.h b/libs/ardour/ardour/sndfile_helpers.h index b475b082be..1d11375fa6 100644 --- a/libs/ardour/ardour/sndfile_helpers.h +++ b/libs/ardour/ardour/sndfile_helpers.h @@ -49,7 +49,6 @@ int sndfile_header_format_by_index (int); int sndfile_endian_format_by_index (int); int sndfile_data_width (int format); -int sndfile_data_width (ARDOUR::SampleFormat); // It'd be nice if libsndfile did this for us std::string sndfile_major_format (int); diff --git a/libs/ardour/ardour/types.h b/libs/ardour/ardour/types.h index 8cdb372da8..921cb3e39a 100644 --- a/libs/ardour/ardour/types.h +++ b/libs/ardour/ardour/types.h @@ -456,6 +456,8 @@ namespace ARDOUR { FormatInt16 }; + int format_data_width (ARDOUR::SampleFormat); + enum CDMarkerFormat { CDMarkerNone, CDMarkerCUE, -- cgit v1.2.3