Fix __SIMD32 warning

This commit is contained in:
GullCode 2021-01-27 15:16:43 +01:00
parent 19ebf14e8c
commit 266e398224

View File

@ -35,7 +35,7 @@ class ChannelStatsCollector {
public: public:
template<typename Callback> template<typename Callback>
void feed(const buffer_c16_t& src, Callback callback) { void feed(const buffer_c16_t& src, Callback callback) {
auto src_p = src.p; void *src_p = src.p;
while(src_p < &src.p[src.count]) { while(src_p < &src.p[src.count]) {
const uint32_t sample = *__SIMD32(src_p)++; const uint32_t sample = *__SIMD32(src_p)++;
const uint32_t mag_sq = __SMUAD(sample, sample); const uint32_t mag_sq = __SMUAD(sample, sample);