projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Route API to query all outputs (incl sends) and graph-feeds
[ardour.git]
/
libs
/
ardour
/
mtdm.cc
diff --git
a/libs/ardour/mtdm.cc
b/libs/ardour/mtdm.cc
index 46cf90898a9810f428ab491f72409a521e4db224..f959d30539d752da322f86138d2f1e4415634f2c 100644
(file)
--- a/
libs/ardour/mtdm.cc
+++ b/
libs/ardour/mtdm.cc
@@
-17,6
+17,7
@@
*/
#include <math.h>
+#include <assert.h>
#include "ardour/mtdm.h"
@@
-58,6
+59,7
@@
int MTDM::process (size_t len, float *ip, float *op)
float vip, vop, a, c, s;
Freq *F;
float peak = 0;
+ assert (len > 0);
while (len--)
{