Revert "option to ignore feedback detection - /i know what i'm doing/ mode."
[ardour.git] / libs / ardour / ardour / caimportable.h
index dc7f5769ae2c93f28c220a4362b06088182a3495..1ed8676ee63fd5e4473472d9beda459e11d04496 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2007 Paul Davis 
+    Copyright (C) 2007 Paul Davis
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -20,9 +20,9 @@
 #ifndef __ardour_ca_importable_source_h__
 #define __ardour_ca_importable_source_h__
 
-#include <pbd/failed_constructor.h>
-#include <ardour/types.h>
-#include <ardour/importable_source.h>
+#include "pbd/failed_constructor.h"
+#include "ardour/types.h"
+#include "ardour/importable_source.h"
 
 #include <appleutility/CAAudioFile.h>
 
@@ -33,11 +33,13 @@ class CAImportableSource : public ImportableSource {
        CAImportableSource (const std::string& path);
        virtual ~CAImportableSource();
 
-       nframes_t read (Sample* buffer, nframes_t nframes);
+       framecnt_t read (Sample* buffer, framecnt_t nframes);
        uint32_t  channels() const;
-       nframes_t length() const;
-       nframes_t samplerate() const;
-       void      seek (nframes_t pos);
+       framecnt_t length() const;
+       framecnt_t samplerate() const;
+       void      seek (framepos_t pos);
+       framepos_t natural_position() const { return 0; }
+       bool clamped_at_unity () const { return false; }
 
    protected:
        mutable CAAudioFile af;