mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-23 15:16:25 +01:00
fixed potential infinite loop when searching for automation events.
git-svn-id: svn://localhost/ardour2/trunk@1760 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
a77e3c821b
commit
41853ad9ea
2 changed files with 2 additions and 1 deletions
|
|
@ -415,7 +415,7 @@ PluginInsert::automation_run (vector<Sample *>& bufs, uint32_t nbufs, nframes_t
|
|||
|
||||
while (nframes) {
|
||||
|
||||
nframes_t cnt = min (((nframes_t) floor (next_event.when) - now), nframes);
|
||||
nframes_t cnt = min (((nframes_t) ceil (next_event.when) - now), nframes);
|
||||
|
||||
connect_and_run (bufs, nbufs, cnt, offset, true, now);
|
||||
|
||||
|
|
|
|||
|
|
@ -448,6 +448,7 @@ style "editor_hscrollbar" = "ardour_adjusters"
|
|||
# make it bigger.
|
||||
#
|
||||
GtkRange::slider_width = 27
|
||||
GtkScrollbar::slider_width = 27
|
||||
}
|
||||
|
||||
style "ardour_progressbars" = "default_buttons_menus"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue