diff --git a/plugins/LadspaEffect/calf/src/calf/buffer.h b/plugins/LadspaEffect/calf/src/calf/buffer.h index 373fbd1cd..1e7018f3a 100644 --- a/plugins/LadspaEffect/calf/src/calf/buffer.h +++ b/plugins/LadspaEffect/calf/src/calf/buffer.h @@ -153,7 +153,7 @@ void copy_buf(T &dest_buf, const U &src_buf, T scale = 1, T add = 0) { typedef typename T::data_type data_type; data_type *dest = dest_buf.data(); const data_type *src = src_buf.data(); - int size = src.size(); + int size = src_buf.size(); for (int i=0; i - inline U lerp_table_lookup_int(U data[(1<(data[pos], data[pos+1]); } @@ -224,19 +224,19 @@ public: /// Untested... I've started it to get a sin/cos readout for rotaryorgan, but decided to use table-less solution instead /// Do not assume it works, because it most probably doesn't template - inline U lerp_table_lookup_int_shift(U data[(1<(data[pos], data[pos+1]); } template - inline U lerp_table_lookup_float(U data[(1< - inline U lerp_table_lookup_float_mask(U data[(1<