Make import GUI report if you are importing a file of a name that
[ardour.git] / libs / ardour / ardour / coreaudiosource.h
index 5f54d01f5dbc147840fad62c25786182c9e148f4..ad21188531de6c350c6cd64466ca74ed745f8c3e 100644 (file)
@@ -29,7 +29,7 @@ namespace ARDOUR {
 class CoreAudioSource : public AudioFileSource {
   public:
        CoreAudioSource (ARDOUR::Session&, const XMLNode&);
-       CoreAudioSource (ARDOUR::Session&, const string& path_plus_channel, Flag);
+       CoreAudioSource (ARDOUR::Session&, const string& path, int chn, Flag);
        ~CoreAudioSource ();
 
        float sample_rate() const;
@@ -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 (string str);
+       void init ();
 };
 
 }; /* namespace ARDOUR */