Skeleton tests for BBT_Time.
[ardour.git] / libs / ardour / audio_diskstream.cc
index 661ddf139e48005bde9f3186d2ccb40882695204..fbd10b92e35f9e216a518e67e368228e94362c7f 100644 (file)
@@ -2000,7 +2000,7 @@ AudioDiskstream::allocate_temporary_buffers ()
 {
        /* make sure the wrap buffer is at least large enough to deal
           with the speeds up to 1.2, to allow for micro-variation
-          when slaving to MTC, SMPTE etc.
+          when slaving to MTC, Timecode etc.
        */
 
        double sp = max (fabsf (_actual_speed), 1.2f);
@@ -2305,7 +2305,7 @@ AudioDiskstream::can_become_destructive (bool& requires_bounce) const
 
        assert (afirst);
 
-       if (afirst->source()->used() > 1) {
+       if (_session.source_use_count (afirst->source()) > 1) {
                requires_bounce = true;
                return false;
        }