Automation of LV2 plugin properties.
[ardour.git] / libs / ardour / audiosource.cc
index d0b6205cb211d14c97bde11dcbceaa8e1b7c9a2a..fd20c3afdbe41c805eb42110e7a93efe52fa8b3c 100644 (file)
@@ -303,7 +303,7 @@ framecnt_t
 AudioSource::write (Sample *dst, framecnt_t cnt)
 {
        Glib::Threads::Mutex::Lock lm (_lock);
-       /* any write makes the fill not removable */
+       /* any write makes the file not removable */
        _flags = Flag (_flags & ~Removable);
        return write_unlocked (dst, cnt);
 }
@@ -328,7 +328,7 @@ AudioSource::read_peaks_with_fpp (PeakData *peaks, framecnt_t npeaks, framepos_t
        PeakData::PeakDatum xmax;
        PeakData::PeakDatum xmin;
        int32_t to_read;
-       uint32_t nread;
+       ssize_t nread;
        framecnt_t zero_fill = 0;
 
        boost::scoped_ptr<FdFileDescriptor> peakfile_descriptor(new FdFileDescriptor (peakpath, false, 0664));