rename TransportMasterManager::init() to ::set_default_configuration() to make its...
[ardour.git] / libs / ardour / ardour / readable.h
index d184902deb77ec5a796e899cbc7721c9a8325688..2c84fc0431408af9d1a2f7697d3206bf8cc83712 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2012 Paul Davis 
+    Copyright (C) 2012 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
 #ifndef __ardour_readable_h__
 #define __ardour_readable_h__
 
+#include "ardour/libardour_visibility.h"
 #include "ardour/types.h"
 
 namespace ARDOUR {
 
-class Readable {
+class LIBARDOUR_API Readable {
   public:
        Readable () {}
        virtual ~Readable() {}
 
-       virtual framecnt_t read (Sample*, framepos_t pos, framecnt_t cnt, int channel) const = 0;
-       virtual framecnt_t readable_length() const = 0;
+       virtual samplecnt_t read (Sample*, samplepos_t pos, samplecnt_t cnt, int channel) const = 0;
+       virtual samplecnt_t readable_length() const = 0;
        virtual uint32_t  n_channels () const = 0;
 };