permit different sizes for audio playback & capture buffers
[ardour.git] / libs / ardour / ardour / audio_region_importer.h
index 71e8718ce88456b0ba85a337473dcf4b4ad56519..2187d921485ca9fb06e2bdf1b22c9bda646b61f5 100644 (file)
@@ -33,6 +33,7 @@
 #include "ardour/types.h"
 #include "ardour/element_importer.h"
 #include "ardour/element_import_handler.h"
+#include "ardour/import_status.h"
 
 namespace ARDOUR {
 
@@ -44,9 +45,9 @@ class AudioRegionImportHandler : public ElementImportHandler
        // Inerface implementation
        AudioRegionImportHandler (XMLTree const & source, Session & session);
        std::string get_info () const;
-       
+
        void create_regions_from_children (XMLNode const & node, ElementList & list);
-       
+
        // Source management
        bool check_source (std::string const & filename) const;
        void add_source (std::string const & filename, boost::shared_ptr<Source> const & source);
@@ -76,8 +77,8 @@ class AudioRegionImporter : public ElementImporter
 
        // Interface implementation
        std::string get_info () const;
-       Session::ImportStatus * get_import_status () { return &status; }
-       
+       ImportStatus * get_import_status () { return &status; }
+
        // other stuff
        void add_sources_to_session ();
        XMLNode const & get_xml ();
@@ -94,12 +95,12 @@ class AudioRegionImporter : public ElementImporter
        PBD::ID old_id;
        PBD::ID id;
        std::list<std::string> filenames;
-       Session::ImportStatus status;
-       
+       ImportStatus status;
+
        bool parse_xml_region ();
        bool parse_source_xml ();
        PBD::sys::path get_sound_dir (XMLTree const & tree);
-       
+
        void prepare_region ();
        void prepare_sources ();
        std::vector<boost::shared_ptr<Region> > region;