Optimize plugin-processing for non-automated params
[ardour.git] / libs / ardour / ardour / export_format_base.h
index 093913e294b9f8b1302d3d4115e5addb1710b3e6..04566f081ee2d67e77d1d2ec238b265dbddd0cbe 100644 (file)
@@ -43,7 +43,8 @@ class LIBARDOUR_API ExportFormatBase {
 
        enum Type {
                T_None = 0,
-               T_Sndfile
+               T_Sndfile,
+               T_FFMPEG
        };
 
        enum FormatId {
@@ -56,7 +57,8 @@ class LIBARDOUR_API ExportFormatBase {
                F_IRCAM = SF_FORMAT_IRCAM,
                F_RAW = SF_FORMAT_RAW,
                F_FLAC = SF_FORMAT_FLAC,
-               F_Ogg = SF_FORMAT_OGG
+               F_Ogg = SF_FORMAT_OGG,
+               F_FFMPEG = 0xF10000
        };
 
        enum Endianness {
@@ -166,7 +168,7 @@ class LIBARDOUR_API ExportFormatBase {
        void set_extension (std::string const & extension) { _extension = extension; }
        std::string const & extension () const { return _extension; }
 
-       static SampleRate nearest_sample_rate (framecnt_t sample_rate);
+       static SampleRate nearest_sample_rate (samplecnt_t sample_rate);
 
   protected: