Add automatable click-free bypass/enable feature to a-eq
[ardour.git] / libs / ardour / filter.cc
index 382e6d9d86c61985b7595356f875bebd8f7a020b..6ebf23102ab0ff13db88e51a23d299296e2a2acb 100644 (file)
@@ -32,7 +32,7 @@
 #include "ardour/smf_source.h"
 #include "ardour/source_factory.h"
 
-#include "i18n.h"
+#include "pbd/i18n.h"
 
 using namespace std;
 using namespace ARDOUR;
@@ -75,19 +75,19 @@ Filter::make_new_sources (boost::shared_ptr<Region> region, SourceList& nsrcs, s
                                sample_rate = session.frame_rate();
                        } else {
                                boost::shared_ptr<AudioRegion> aregion = boost::dynamic_pointer_cast<AudioRegion>(region);
-                               
+
                                if (aregion) {
                                        sample_rate = aregion->audio_source()->sample_rate();
                                } else {
                                        return -1;
                                }
                        }
-                       
+
                        nsrcs.push_back (boost::dynamic_pointer_cast<Source> (
                                                 SourceFactory::createWritable (region->data_type(), session,
                                                                                path, false, sample_rate)));
                }
-               
+
                catch (failed_constructor& err) {
                        error << string_compose (_("filter: error creating new file %1 (%2)"), path, strerror (errno)) << endmsg;
                        return -1;