projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
delegate port-connections to low priority thread.
[ardour.git]
/
libs
/
ardour
/
iec2ppmdsp.cc
diff --git
a/libs/ardour/iec2ppmdsp.cc
b/libs/ardour/iec2ppmdsp.cc
index 76862cccd2d2bf8a01012c67fae42855f2d196a6..d65f51b3fa0c4085d2a6a77fbf82c5e5ff5e8f56 100644
(file)
--- a/
libs/ardour/iec2ppmdsp.cc
+++ b/
libs/ardour/iec2ppmdsp.cc
@@
-41,12
+41,12
@@
Iec2ppmdsp::~Iec2ppmdsp (void)
}
}
-void Iec2ppmdsp::process (float *p, int n)
+void Iec2ppmdsp::process (float
const
*p, int n)
{
float z1, z2, m, t;
{
float z1, z2, m, t;
- z1 = _z1;
- z2 = _z2;
+ z1 = _z1
> 20 ? 20 : (_z1 < 0 ? 0 : _z1)
;
+ z2 = _z2
> 20 ? 20 : (_z2 < 0 ? 0 : _z2)
;
m = _res ? 0: _m;
_res = false;
m = _res ? 0: _m;
_res = false;