fix broken compilation after edit-while-stopped fix was applied

git-svn-id: svn://localhost/ardour2/branches/3.0@6538 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis
2010-01-22 11:57:16 +00:00
parent 55b63cb572
commit ad4506daad

View File

@@ -249,11 +249,11 @@ Track::no_roll (nframes_t nframes, sframes_t start_frame, sframes_t end_frame,
if (session_state_changing) {
if (_session.transport_speed() != 0.0f) {
/* we're rolling but some state is changing (e.g. our diskstream contents)
so we cannot use them. Be silent till this is over.
so we cannot use them. Be silent till this is over. Don't declick.
XXX note the absurdity of ::no_roll() being called when we ARE rolling!
*/
passthru_silence (start_frame, end_frame, nframes, 0, false);
passthru_silence (start_frame, end_frame, nframes, 0);
return 0;
}
/* we're really not rolling, so we're either delivery silence or actually