X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fardour%2Felement_importer.h;h=b6d6ff71669aeaeb7edebcb3a11893d6d196ca7d;hb=23a2cc4b71845a61dcc01f5663dacd74f198f0c3;hp=8ffa3b90ba4f3e088b5528434c34066a6057248c;hpb=aae367b63c9b619db1e40f27dc334c6987219481;p=ardour.git diff --git a/libs/ardour/ardour/element_importer.h b/libs/ardour/ardour/element_importer.h index 8ffa3b90ba..b6d6ff7166 100644 --- a/libs/ardour/ardour/element_importer.h +++ b/libs/ardour/ardour/element_importer.h @@ -25,6 +25,7 @@ #include #include "pbd/signals.h" +#include "ardour/libardour_visibility.h" #include "ardour/types.h" class XMLTree; @@ -34,7 +35,7 @@ class Session; class ImportStatus; /// Virtual interface class for element importers -class ElementImporter +class LIBARDOUR_API ElementImporter { public: @@ -109,13 +110,13 @@ class ElementImporter std::string name; /// The sample rate of the session from which we are importing - nframes_t sample_rate; + framecnt_t sample_rate; /// Converts timecode time to a string std::string timecode_to_string (Timecode::Time & time) const; /// Converts samples so that times match the sessions sample rate - nframes_t rate_convert_samples (nframes_t samples) const; + framecnt_t rate_convert_samples (framecnt_t samples) const; /// Converts samples so that times match the sessions sample rate (for straight use in XML) std::string rate_convert_samples (std::string const & samples) const;