Fix crash when switching backends.
authorRobin Gareus <robin@gareus.org>
Sat, 25 Apr 2015 23:36:09 +0000 (01:36 +0200)
committerRobin Gareus <robin@gareus.org>
Sat, 25 Apr 2015 23:36:09 +0000 (01:36 +0200)
cycle_end() can write to invalid buffers.

libs/ardour/audioengine.cc

index c70a48725a5045a016869df0af24283556277203..cdab68b2f5e02467fd83b9e64b0561d3f5c8105b 100644 (file)
@@ -352,7 +352,6 @@ AudioEngine::process_callback (pframes_t nframes)
        }
 
        if (!_running) {
-               PortManager::cycle_end (nframes);
                _processed_frames = next_processed_frames;
                return 0;
        }