diff options
Diffstat (limited to 'gr-blocks/lib/interleaved_short_array_to_complex.cc')
-rw-r--r-- | gr-blocks/lib/interleaved_short_array_to_complex.cc | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/gr-blocks/lib/interleaved_short_array_to_complex.cc b/gr-blocks/lib/interleaved_short_array_to_complex.cc deleted file mode 100644 index 1033abdbdc..0000000000 --- a/gr-blocks/lib/interleaved_short_array_to_complex.cc +++ /dev/null @@ -1,23 +0,0 @@ -/* -*- c++ -*- */ -/* - * Copyright 2002,2012 Free Software Foundation, Inc. - * - * This file is part of GNU Radio - * - * SPDX-License-Identifier: GPL-3.0-or-later - * - */ - -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - -#include "interleaved_short_array_to_complex.h" -#include <assert.h> -#include <volk/volk.h> - -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); -} |