Fix compiler warning, code formatting
Change-Id: I480591aedc6ae265ac0f1a8a8b8c58483da976f3
Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: Seungbae Shin <seungbae.shin@samsung.com>
#include <config.h>
#endif
-#include <pulse/rtclock.h>
-
#include <pulsecore/macro.h>
#include <pulsecore/endianmacros.h>
static void pa_sconv_s16le_to_f32ne_neon(unsigned n, const int16_t *src, float *dst) {
unsigned i = n & 3;
+ const float invscale = 1.0f / (1 << 15);
__asm__ __volatile__ (
- "movs %[n], %[n], lsr #2 \n\t"
+ "movs %[n], %[n], lsr #2 \n\t"
"beq 2f \n\t"
"1: \n\t"
);
/* leftovers */
- const float invscale = 1.0f / (1 << 15);
while (i--) {
*dst++ = *src++ * invscale;
}