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:
Jesse Chappell 2007-04-28 13:31:44 +00:00
parent a77e3c821b
commit 41853ad9ea
2 changed files with 2 additions and 1 deletions

View file

@ -415,7 +415,7 @@ PluginInsert::automation_run (vector<Sample *>& bufs, uint32_t nbufs, nframes_t
while (nframes) { 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); connect_and_run (bufs, nbufs, cnt, offset, true, now);

View file

@ -448,6 +448,7 @@ style "editor_hscrollbar" = "ardour_adjusters"
# make it bigger. # make it bigger.
# #
GtkRange::slider_width = 27 GtkRange::slider_width = 27
GtkScrollbar::slider_width = 27
} }
style "ardour_progressbars" = "default_buttons_menus" style "ardour_progressbars" = "default_buttons_menus"