- use jsy_min/jsy_max

- fixed includes
- removed redundant MW table
- added Missing JK_MidiClock
This commit is contained in:
2023-04-21 14:25:04 +02:00
parent 2fcbc59880
commit 978c752e8b
16 changed files with 328 additions and 57 deletions
+6 -6
View File
@@ -145,7 +145,7 @@ void Clamp_inplace_V(synth_float_t *pSrcDst, synth_float_t minimum, synth_float_
{
while(len--)
{
*(pSrcDst) = max(minimum, min(maximum, *(pSrcDst)));
*(pSrcDst) = jsy_max(minimum, jsy_min(maximum, *(pSrcDst)));
pSrcDst++;
}
}
@@ -154,7 +154,7 @@ void Clamp_V(synth_float_t *pDst, synth_float_t *pSrc, synth_float_t minimum, sy
{
while(len--)
{
*(pDst++) = max(minimum, min(maximum, *(pSrc++)));
*(pDst++) = jsy_max(minimum, jsy_min(maximum, *(pSrc++)));
}
}
@@ -162,7 +162,7 @@ void uMax_VS(synth_float_t *pDst, synth_float_t *pSrc1, synth_float_t src2, UINT
{
while(len--)
{
*(pDst++) = max(fabs(*(pSrc1++)), src2);
*(pDst++) = jsy_max(fabs(*(pSrc1++)), src2);
}
}
@@ -170,7 +170,7 @@ void uMax_VV(synth_float_t *pDst, synth_float_t *pSrc1, synth_float_t *pSrc2, UI
{
while(len--)
{
*(pDst++) = max(fabs(*(pSrc1++)), *(pSrc2++));
*(pDst++) = jsy_max(fabs(*(pSrc1++)), *(pSrc2++));
}
}
@@ -178,7 +178,7 @@ void uMin_VS(synth_float_t *pDst, synth_float_t *pSrc1, synth_float_t src2, UINT
{
while(len--)
{
*(pDst++) = min(fabs(*(pSrc1++)), src2);
*(pDst++) = jsy_min(fabs(*(pSrc1++)), src2);
}
}
@@ -186,6 +186,6 @@ void uMin_VV(synth_float_t *pDst, synth_float_t *pSrc1, synth_float_t *pSrc2, UI
{
while(len--)
{
*(pDst++) = min(fabs(*(pSrc1++)), *(pSrc2++));
*(pDst++) = jsy_min(fabs(*(pSrc1++)), *(pSrc2++));
}
}