projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed crash potential issues where nframes may be 0
[ardour.git]
/
libs
/
ardour
/
route.cc
diff --git
a/libs/ardour/route.cc
b/libs/ardour/route.cc
index 5d3cd942e7f2c6afc400cbb4a97f1f6c259d90cf..7f7b56cc2bbea152ae3a13916b46b3d388e8177f 100644
(file)
--- a/
libs/ardour/route.cc
+++ b/
libs/ardour/route.cc
@@
-444,7
+444,7
@@
Route::process_output_buffers (vector<Sample*>& bufs, uint32_t nbufs,
}
}
- if (apply_gain_automation && _session.transport_rolling()) {
+ if (apply_gain_automation && _session.transport_rolling()
&& nframes > 0
) {
_effective_gain = gab[nframes-1];
}