the recent AudioBlock refactoring broke the clear() method, if the SampleType is a SIMD type.
The following code won’t work:
AudioBlock<SIMDRegister<float>> ab;
ab.clear();
No matching function for call to 'clear' ← FloatVectorOperations.
The clearInternal() method, which is used to clear the data, is no longer reinterpret_casting the SampleType to float in order to use the FloatVectorOperations.
Am I supposed to use clear differently? Or did it just slip through testing?
Maybe something for @tpoole?
All the other methods using FloatVectorOperations are also affected (see fillInternal()), so the reinterpret_cast has to be added to those as well. Unless it will put directly to getChannelPointer as it was before, however that would break the interface, as it wouldn’t return SampleType* anymore.
I really dislike the concept that master can change after release, how are we supposed to know what’s a master and what’s an updated master without monitoring the forum?
There are also release-tags, so if you want to stick with the release-versions you can always pull the tags, if you want to get the latest master-worthy changes you can pull from master, and if you want to use the most recent develop changes -> develop