Fix a problem where VST automation data wasn't getting written (if the adjustments...
[ardour.git] / libs / ardour / audio_track.cc
index e864df83c300eec7db9d2cc5756376dae80e60e8..99115d5d6fbc3eb362abfce87d1f8b910b4a1beb 100644 (file)
@@ -329,7 +329,7 @@ AudioTrack::roll (pframes_t nframes, framepos_t start_frame, framepos_t end_fram
        if (!lm.locked()) {
                boost::shared_ptr<AudioDiskstream> diskstream = audio_diskstream();
                framecnt_t playback_distance = diskstream->calculate_playback_distance(nframes);
-               if (can_internal_playback_seek(llabs(playback_distance))) {
+               if (can_internal_playback_seek(::llabs(playback_distance))) {
                        /* TODO should declick */
                        internal_playback_seek(playback_distance);
                }
@@ -355,7 +355,7 @@ AudioTrack::roll (pframes_t nframes, framepos_t start_frame, framepos_t end_fram
 
        int dret;
        framecnt_t playback_distance;
-       
+
        if ((nframes = check_initial_delay (nframes, transport_frame)) == 0) {
 
                /* need to do this so that the diskstream sets its
@@ -386,7 +386,7 @@ AudioTrack::roll (pframes_t nframes, framepos_t start_frame, framepos_t end_fram
        BufferSet& bufs = _session.get_route_buffers (n_process_buffers ());
 
        fill_buffers_with_input (bufs, _input, nframes);
-       
+
        if (_meter_point == MeterInput && (_monitoring & MonitorInput || _diskstream->record_enabled())) {
                _meter->run (bufs, start_frame, end_frame, nframes, true);
        }
@@ -486,12 +486,12 @@ AudioTrack::bounceable (boost::shared_ptr<Processor> endpoint, bool include_endp
                /* does the output from the last considered processor match the
                 * input to this one?
                 */
-               
+
                if (naudio != (*r)->input_streams().n_audio()) {
                        return false;
                }
 
-               /* we're including the endpoint - if we just hit it, 
+               /* we're including the endpoint - if we just hit it,
                   then stop.
                */
 
@@ -499,7 +499,7 @@ AudioTrack::bounceable (boost::shared_ptr<Processor> endpoint, bool include_endp
                        return true;
                }
 
-               /* save outputs of this processor to test against inputs 
+               /* save outputs of this processor to test against inputs
                   of the next one.
                */
 
@@ -591,7 +591,7 @@ AudioTrack::freeze_me (InterThreadInfo& itt)
                                        (*r)->deactivate ();
                                }
                        }
-                       
+
                        _session.set_dirty ();
                }
        }