fix bug in path_expand() when passed an empty string
[ardour.git] / libs / ardour / coreaudiosource.cc
index bbb0d8ca8987149ccb6e938b582dd3f4f6903d3b..5212a3006dcaca62b58fa25c1488f01bf9d57d2b 100644 (file)
@@ -90,7 +90,6 @@ CoreAudioSource::init_cafile ()
 
 CoreAudioSource::~CoreAudioSource ()
 {
-       drop_references ();
 }
 
 int
@@ -140,7 +139,7 @@ CoreAudioSource::safe_read (Sample* dst, nframes_t start, nframes_t cnt, AudioBu
 
 
 nframes_t
-CoreAudioSource::read_unlocked (Sample *dst, sframes_t start, nframes_t cnt) const
+CoreAudioSource::read_unlocked (Sample *dst, framepos_t start, nframes_t cnt) const
 {
        nframes_t file_cnt;
        AudioBufferList abl;
@@ -219,7 +218,7 @@ CoreAudioSource::sample_rate() const
 }
 
 int
-CoreAudioSource::update_header (sframes_t when, struct tm&, time_t)
+CoreAudioSource::update_header (framepos_t when, struct tm&, time_t)
 {
        return 0;
 }
@@ -369,3 +368,9 @@ CoreAudioSource::get_soundfile_info (string path, SoundFileInfo& _info, string&
        return ret;
 
 }
+
+void
+CoreAudioSource::set_path (const string& p)
+{
+        FileSource::set_path (p);
+}