diff options
Diffstat (limited to 'src/pcm/Neon.hxx')
-rw-r--r-- | src/pcm/Neon.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pcm/Neon.hxx b/src/pcm/Neon.hxx index 1205409cc..3aa7f6d47 100644 --- a/src/pcm/Neon.hxx +++ b/src/pcm/Neon.hxx @@ -66,7 +66,8 @@ struct NeonFloatTo16 { static constexpr size_t BLOCK_SIZE = 16; - void Convert(int16_t *dst, const float *src, const size_t n) const { + void Convert(int16_t *dst, const float *src, + const size_t n) const noexcept { for (unsigned i = 0; i < n / BLOCK_SIZE; ++i, src += BLOCK_SIZE, dst += BLOCK_SIZE) { /* load 16 float samples into 4 quad |