track templates, backported from 2.X
[ardour.git] / libs / ardour / ardour / coreaudiosource.h
index ad21188531de6c350c6cd64466ca74ed745f8c3e..7e9f975d03536633a9274712fb7172c6f6669dbe 100644 (file)
@@ -21,8 +21,7 @@
 #define __coreaudio_source_h__
 
 #include <appleutility/CAAudioFile.h>
-
-#include <ardour/audiofilesource.h>
+#include "ardour/audiofilesource.h"
 
 namespace ARDOUR {
 
@@ -48,11 +47,8 @@ class CoreAudioSource : public AudioFileSource {
        mutable CAAudioFile af;
        uint16_t n_channels;
 
-       mutable float *tmpbuf;
-       mutable nframes_t tmpbufsize;
-       mutable Glib::Mutex _tmpbuf_lock;
-
        void init ();
+       int safe_read (Sample*, nframes_t start, nframes_t cnt, AudioBufferList&) const;
 };
 
 }; /* namespace ARDOUR */