Browse Source

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

tags/non-daw-v1.1.0
Jonathan Moore Liles 17 years ago
parent
commit
ebc059ac31
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      Timeline/Audio_Sequence.C

+ 2
- 1
Timeline/Audio_Sequence.C 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 );
}



Loading…
Cancel
Save