Merge pull request #275 from GullCode/channel_stat_collector_warning_fix

Fix __SIMD32 warning
This commit is contained in:
Erwin Ried 2021-01-27 15:22:39 +01:00 committed by GitHub
commit 89d46d59ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,7 +35,7 @@ class ChannelStatsCollector {
public:
template<typename 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]) {
const uint32_t sample = *__SIMD32(src_p)++;
const uint32_t mag_sq = __SMUAD(sample, sample);