projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c627281
)
leave a hint for clang scan-build
author
Robin Gareus
<robin@gareus.org>
Sat, 5 Sep 2015 16:11:15 +0000
(18:11 +0200)
committer
Robin Gareus
<robin@gareus.org>
Sat, 5 Sep 2015 17:16:50 +0000
(19:16 +0200)
libs/audiographer/private/gdither/gdither.cc
patch
|
blob
|
history
diff --git
a/libs/audiographer/private/gdither/gdither.cc
b/libs/audiographer/private/gdither/gdither.cc
index 75e16d7863535f7ad30986d9579453b42f3d2988..98d31c44c2cd7bb34f0ab4e2d408b7ffea67c9c2 100644
(file)
--- a/
libs/audiographer/private/gdither/gdither.cc
+++ b/
libs/audiographer/private/gdither/gdither.cc
@@
-43,6
+43,7
@@
#include <stdlib.h>
#endif
+#include <assert.h>
#include <sys/types.h>
/* Lipshitz's minimally audible FIR, only really works for 46kHz-ish signals */
@@
-197,6
+198,7
@@
inline static void gdither_innner_loop(const GDitherType dt,
break;
case GDitherShaped:
/* Save raw value for error calculations */
+ assert (ss);
ideal = tmp;
/* Run FIR and add white noise */