From 3f3104348e69ff437f778ff38206964aaaf1466f Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 14 Jan 2020 23:20:36 +0100 Subject: [PATCH] pcm/Dsd2Pcm: add "restrict" attribute --- src/pcm/Dsd2Pcm.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pcm/Dsd2Pcm.cxx b/src/pcm/Dsd2Pcm.cxx index 65029147f..94cdacb90 100644 --- a/src/pcm/Dsd2Pcm.cxx +++ b/src/pcm/Dsd2Pcm.cxx @@ -192,7 +192,7 @@ Dsd2Pcm::TranslateSample(size_t ffp, uint8_t src) noexcept void Dsd2Pcm::Translate(size_t samples, - const uint8_t *src, ptrdiff_t src_stride, + const uint8_t *gcc_restrict src, ptrdiff_t src_stride, bool lsbf, float *dst, ptrdiff_t dst_stride) noexcept {