Optimize plugin-processing for non-automated params
[ardour.git] / libs / ardour / ardour / export_format_base.h
index 7ffb433e1af3a65c8a031e42cb7574974a836b39..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 {
@@ -97,11 +99,12 @@ class LIBARDOUR_API ExportFormatBase {
                SR_None = 0,
                SR_Session = 1,
                SR_8 = 8000,
-               SR_22_05 = 220500,
+               SR_22_05 = 22050,
                SR_44_1 = 44100,
                SR_48 = 48000,
                SR_88_2 = 88200,
                SR_96 = 96000,
+               SR_176_4 = 176400,
                SR_192 = 192000
        };
 
@@ -114,7 +117,7 @@ class LIBARDOUR_API ExportFormatBase {
        };
 
        /// Class for managing selection and compatibility states
-       class SelectableCompatible {
+       class LIBARDOUR_API SelectableCompatible {
          public:
                SelectableCompatible ()
                        : _selected (false), _compatible (true) { }
@@ -165,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: