summaryrefslogtreecommitdiff
path: root/gr-blocks/lib/interleaved_short_array_to_complex.cc
diff options
context:
space:
mode:
authorMarcus Müller <mmueller@gnuradio.org>2019-08-07 21:45:12 +0200
committerMarcus Müller <marcus@hostalia.de>2019-08-09 23:04:28 +0200
commitf7bbf2c1d8d780294f3e016aff239ca35eb6516e (patch)
treee09ab6112e02b2215b2d59ac24d3d6ea2edac745 /gr-blocks/lib/interleaved_short_array_to_complex.cc
parent78431dc6941e3acc67c858277dfe4a0ed583643c (diff)
Tree: clang-format without the include sorting
Diffstat (limited to 'gr-blocks/lib/interleaved_short_array_to_complex.cc')
-rw-r--r--gr-blocks/lib/interleaved_short_array_to_complex.cc8
1 files changed, 3 insertions, 5 deletions
diff --git a/gr-blocks/lib/interleaved_short_array_to_complex.cc b/gr-blocks/lib/interleaved_short_array_to_complex.cc
index 4aac6208a1..78653c76c2 100644
--- a/gr-blocks/lib/interleaved_short_array_to_complex.cc
+++ b/gr-blocks/lib/interleaved_short_array_to_complex.cc
@@ -28,10 +28,8 @@
#include <assert.h>
#include <volk/volk.h>
-void
-interleaved_short_array_to_complex (const short *in,
- gr_complex *out, int nsamples)
+void interleaved_short_array_to_complex(const short* in, gr_complex* out, int nsamples)
{
- assert (nsamples % 2 == 0);
- volk_16i_s32f_convert_32f_u( (float*)out, (const int16_t*) in, 1, nsamples );
+ assert(nsamples % 2 == 0);
+ volk_16i_s32f_convert_32f_u((float*)out, (const int16_t*)in, 1, nsamples);
}