another buffersize fix (see #5221 and rev13715)
git-svn-id: svn://localhost/ardour2/branches/3.0@13720 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
836948506a
commit
8380c06e32
@ -224,8 +224,8 @@ Diskstream::realtime_set_speed (double sp, bool global)
|
||||
|
||||
if (new_speed != _actual_speed) {
|
||||
|
||||
framecnt_t required_wrap_size = (framecnt_t) floor (_session.get_block_size() *
|
||||
fabs (new_speed)) + 1;
|
||||
framecnt_t required_wrap_size = (framecnt_t) ceil (_session.get_block_size() *
|
||||
fabs (new_speed)) + 2;
|
||||
|
||||
if (required_wrap_size > wrap_buffer_size) {
|
||||
_buffer_reallocation_required = true;
|
||||
|
Loading…
Reference in New Issue
Block a user