mirror of
https://github.com/LMMS/lmms.git
synced 2026-03-20 15:03:05 -04:00
Once I added the SWH LADSPA plugins I just added a small selection of them in order to improve clarity. However lots of projects use SWH LADSPA plugins that are not shipped with LMMS and thus can't be played properly e.g. on Windows. Fix this by adding missing plugins (except the analog and FM oscillators).
18 lines
299 B
C
18 lines
299 B
C
#ifndef _BUFFER_H
|
|
#define _BUFFER_H
|
|
|
|
/* substract buffer b from a, save in c
|
|
*
|
|
* this could be sped up by vector operations
|
|
*/
|
|
|
|
static inline void buffer_sub(const float* a, const float *b, const float *c, int cnt) {
|
|
int i;
|
|
float *h;
|
|
h = c;
|
|
for(i=0;i<cnt;++i)
|
|
*h++ = *a++ - *b++;
|
|
}
|
|
|
|
#endif
|