mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-12-25 07:19:28 -05:00
Fix __SIMD32 warning
This commit is contained in:
parent
19ebf14e8c
commit
266e398224
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user