#include "ardour/region_factory.h"
#include "ardour/session_directory.h"
-#include "i18n.h"
+#include "pbd/i18n.h"
using namespace std;
using namespace PBD;
if (!(*it)->name().compare ("Region") && (!type || type->value() == "audio") ) {
try {
list.push_back (ElementPtr ( new AudioRegionImporter (source, session, *this, **it)));
- } catch (failed_constructor err) {
+ } catch (failed_constructor const&) {
set_dirty();
}
}
string
AudioRegionImporter::get_info () const
{
- framecnt_t length, position;
+ samplecnt_t length, position;
Timecode::Time length_time, position_time;
std::ostringstream oss;
char buf[128];
std::string source_dir(get_sound_dir (source));
XMLNode * source_node;
- XMLProperty *prop;
+ XMLProperty const * prop;
// Get XML for sources
if (!(source_node = source.root()->child (X_("Sources")))) {