Don't bother rebuffering if the transport isn't rolling.

pull/3/head
Jonathan Moore Liles 2008-05-25 21:51:55 -05:00
parent 0e1ac2563d
commit ebc059ac31
1 changed files with 2 additions and 1 deletions

View File

@ -129,7 +129,8 @@ Audio_Sequence::handle_widget_change ( nframes_t start, nframes_t length )
/* trigger rebuffer */
/* FIXME: we really only need to rebuffer *this* sequence! */
/* FIXME: how does this fit into the selection? */
if ( start > transport->frame || start + length > transport->frame )
if ( transport->rolling && ( start > transport->frame || start + length > transport->frame ) )
transport->locate( transport->frame );
}