Merged with trunk R1141
[ardour.git] / libs / ardour / ardour / coreaudiosource.h
index 668fe61102c5e9630646987faecee7e85e1e3b44..bd69c78e180d29ec1285d6bdcd8d409bc9da2b59 100644 (file)
@@ -38,6 +38,8 @@ class CoreAudioSource : public AudioFileSource {
        int flush_header () {return 0;};
        void set_header_timeline_position () {};
 
+       static int get_soundfile_info (string path, SoundFileInfo& _info, string& error_msg);
+
   protected:
        nframes_t read_unlocked (Sample *dst, nframes_t start, nframes_t cnt) const;
        nframes_t write_unlocked (Sample *dst, nframes_t cnt) { return 0; }
@@ -50,7 +52,7 @@ class CoreAudioSource : public AudioFileSource {
        mutable nframes_t tmpbufsize;
        mutable Glib::Mutex _tmpbuf_lock;
 
-       void init (const string &str);
+       void init (string str);
 };
 
 }; /* namespace ARDOUR */